Class UIFONT

Name

UIFONT  --  Font class.

Synopsis

 UIFont(<family>,<style>,<size>,<encoding>)	--> UIFont object
 
 
 

Description

Class UIFont

Attributes

<font> - String of X Window System font description.
<family> - Font family.
<style> - Font style.
<size> - Font size in points.
<encoding> - Codepage of the font.

Methods

PARSEFONT Generate X Window System font description and put it in object field 'font'.
SETPROPERTY Change font property.
UIFONT Constructor.

Method UIFONT:PARSEFONT()

 parseFont([<string>])

Method UIFONT:SETPROPERTY()

 setProperty(<property>,<value>)

Method UIFONT:UIFONT()

 UIFont([<family>],[<style>],[<size>],[<encoding>])	--> UIFont object

Example:

 // Set font Herlvetica-BoldItalic, 12 pt for widget obj
 wfont := UIFont( "Helvetica", "bolditalic", 12 )
 style:font := wfont:font
 

Platforms

No dependies of platform.