Text Display |
text display
text to be displayed
pen color
horizontal X coordinate of text
vertical Y coordinate of text
angle orientation of text
height of characters (default 0.5)
relative width of characters (1 = usual, 0 = default)
bold
italic
underline
strike out
serifs
typewriter
The
text display element serves to write a text into the
graphic layer. The text may contain even multiple lines. A multi-line text cannot be used in connection with the text display having an angle orientation of text other than 0.
The angle orientation of text is entered in radian. A predefined
angle constant can be utilized. The default angle orientation is 0. If an angle other than 0 is entered, a lower velocity of text painting, limited to one-line texts only, must be taken into account.
The character width is a relative number. The real width depends on the character height and on the font type used. The relative width default value of 1 is used as a normal width value. By entering a width of 0 the standard width used by the system for the font in question is set; this width value may be slightly different from the default width value.
The switches for choosing the font style are all switched off as a default setting. If no font properties (angle, height, width and switches) are specified, the system's standard font style is used that is normally used for displaying a texts in windows. In this case the
bold and
typewriter switches distinguish 4 options of the system standard font style. By contemporary switching on the
serifs and
typewriter switches the
user font is selected.
Full Html Context Help of The Peter - Gemtree Software & Children Programming