9.3 TextShape

A GraphicText composed by a
TextShape and a Paint:

Helvetica 12 point italic

The text shape can show a number of lines of text. A text shape is defined by the following attributes:

position
Where to place the baseline of the first line of theText
theFontName
The name of the font used: One of Courier, Times, Helvetica
theStyle
The style of the text: Either Plain, Italic or Bold
size
The size in points (1/72 inch) of the text drawn
underline
Specifies if the text is to be underlined
theText
Holds the characters of THIS(TextShape). I.e. it joins the text lines in theLines into one text, where newlines are inserted for line breaks.
theLines
Each text element in this list corresponds to one line of text in THIS(TextShape).
numberOfLines
Number of Texts in theLines

A corresponding text graphical object (GraphicText) is defined with TextShape as the shape. GraphicText uses FillText of the Paint to draw itself (see Predefined Paint Operations).


The Bifrost Graphics System - Reference Manual
© 1991-2004 Mjølner Informatics
[Modified: Monday October 16th 2000 at 13:43]