Closed DanielBullimore closed 4 years ago
My thinking for OoText Object class so far
I've added text size and color to initial uml class concept...
sanity checking finds no set color or set text methods. Also all properties of OoText should be protected with get and set methods. Changes applied UML Updated to match. Sanity check complete.
Priority: Unset
Depends:
0.0 Master (OO)-[OO.class.js] => 0.1 Point (OoPoint)-[OoPoint.class.js] => 0.1.1 Region (OoRegion)-[OoPointRegion.class.js]
0.2 Color (OoColor)-[OoColor.class.js]
UML
Description:
Used to define a region of the GUI in which text will be rendered This is a text object and only uses fixedsys front As OoText inherits OoPointRegion and all its properties, OoText has options for border and background colors. Building on the region model by adding objTextColor and numCharacterSquare properties control the appearance of text within the region. A string property strValue is used to store text that will be made visible to users along with it's containing region when funRender method is called. Although text size can be controlled manually with numCharacterSquare, booScaleText controls how to control given texts that will not fit with in their region. If true numCharacterSquare is reduced to a calculated scale allowing a full string to be displayed in the region. When false a string is cut to length. Multiline is automatic based on region dimensions and character square.
Properties:
Methods: