
A Text object is instatialized graphicaly dragging from the "green window":

position
Drag the Move button of the Halo.
size
Not the size of the letters. Drag the Size button of the Halo.
setCharacters:'abcdef'.
getCharacters.
setNumericValue:n.
getNumericValue.
size, style, bold, italic, underlined, textColor, autoFit, wrapping
autoFit enables the following feature: if the text contents changes, then the bounds will be adjusted to fit the minimum rectangle that encloses the text.
wrapping, the text will be wrapped at word boundaries based on the composition width (margins). Look the previous lesson to see a figure about this.
sendToBack, bringToFront, embedInto
show
hide
margins
Drag the Size button of the Halo.
PREVIOUS LESSON NEXT LESSON T. CONTENTS HOMEPAGE
