API Documentation > Classes > Class pfcTextStyle
Class pfcTextStyle
Description
This class specifies the text attributes.
Property Summary
number
The angle of rotation of the whole text, in counterclockwise degrees.
string
The font name.
number
The text height, in screen coordinates.
/* optional */ boolean
If this is true, the text is mirrored. Otherwise, the text is not mirrored.
/* optional */ boolean
If this is true, the text is underlined. Otherwise, the text is not underlined.
number
The slant angle of the text, in clockwise degrees.
number
The text thickness.
number
The ratio of the width of each character (including the gap) as a proportion of the height.
Method Summary
Creates a new text style object.
Property Detail
number
Angle
The angle of rotation of the whole text, in counterclockwise degrees.
string
FontName
The font name.
number
Height
The text height, in screen coordinates.
/* optional */ boolean
IsMirrored
If this is true, the text is mirrored. Otherwise, the text is not mirrored.
/* optional */ boolean
IsUnderlined
If this is true, the text is underlined. Otherwise, the text is not underlined.
number
SlantAngle
The slant angle of the text, in clockwise degrees.
number
Thickness
The text thickness.
number
WidthFactor
The ratio of the width of each character (including the gap) as a proportion of the height.
Method Detail
Create
()
Creates a new text style object.
Returns:
A pointer to the new object
Was this helpful?