Neatware Company

An ISV for Mobile, Cloud, and Video Technologies and Software.

Text

Open Text

open text with a list of attributes

_text attributes

ATTRIBUTE VALUE DEFAULT
string text "Ladybug StudioXP"
orgx int 0
orgy int 0
bgcolor BlueGreenRed 0xffc0c0
fgcolor BlueGreenRed 0x000000
fill AlphaRedGreenBlue 0xffc0c0ff
font text "Roman"
size int 24
escape int 0
orient int 0
weight normal, bold normal
italic true, false false
underline true, false false
strikeout true, false false
charset ansi, symbol, oem ansi
pitch fixed, variable variable
family roman, modern, decorative, dontcare, script, swiss roman

string specifies one line of text string. orgx and orgy specify the position of the text. bgcolor specifies the background color of text with the format BGR. fgcolor specifies the foreground color of the text with the format BGR. fill will fill the image background with the format ARGB. font specifies the font name of the text. size specifies the font size. orient specifies the oriention of the text. escape specifies the escapement of the text. weight specifies the blod or normal. If italic, underline, or strikeout are true respectively, the text will be displayed in italic, underline, and strikeout. The charset has one of the value ansi, symbol, oem. The pitch has the value fixed or variable. family specifies the font family.

Close Text

close text

text_

Query Text

get text attributes

?text attributes

get attributes.

Examples

  ?text {string orgx orgy bgcolor fgcolor 
         fill font size escape orient weight 
         italic underline strikeout charset 
         pitch family}

Set Text

set text attributes

!text attributes

Examples

  !text {string "new string" orgx 20 orgy 40}