The font class. Font is a property of the Bitmap class.
Creates a Font object.
Returns TRUE when the specified font exists within the system.
The font name. The default is "MS PGothic".
Include an array of strings to specify multiple fonts to be used in a desired order.
font.name = ["HGPGyoshotai", "MS PGothic"]
In this example, if the higher priority font HGPGyoshotai does not exist within the system, the second choice MS PGothic will be used instead.
The font size. The default is 22 points.
The bold flag. The default is FALSE.
The italic flag. The default is FALSE.
The font color (Color). Alpha values may also be used. The default is (255,255,255,255).
Change the default values for each component, to be applied to each new Font object.
Font.default_name = "MS PMincho" Font.default_bold = true
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |