Library | Module

Class pfcTextStyle



Description

This class specifies the text attributes.



Property Summary

numberAngle
The angle of rotation of the whole text, in counterclockwise degrees.
stringFontName
The font name.
numberHeight
The text height, in screen coordinates.
/* optional */ booleanIsMirrored
If this is true, the text is mirrored. Otherwise, the text is not mirrored.
/* optional */ booleanIsUnderlined
If this is true, the text is underlined. Otherwise, the text is not underlined.
numberSlantAngle
The slant angle of the text, in clockwise degrees.
numberThickness
The text thickness.
numberWidthFactor
The ratio of the width of each character (including the gap) as a proportion of the height.



Method Summary

static pfcTextStyleCreate ()
Creates a new text style object.



Property Detail


numberAngle

The angle of rotation of the whole text, in counterclockwise degrees.




stringFontName

The font name.




numberHeight

The text height, in screen coordinates.




/* optional */ booleanIsMirrored

If this is true, the text is mirrored. Otherwise, the text is not mirrored.




/* optional */ booleanIsUnderlined

If this is true, the text is underlined. Otherwise, the text is not underlined.




numberSlantAngle

The slant angle of the text, in clockwise degrees.




numberThickness

The text thickness.




numberWidthFactor

The ratio of the width of each character (including the gap) as a proportion of the height.





Method Detail


static pfcTextStyleCreate ()

Creates a new text style object.
Returns:
A pointer to the new object