RenderingFont
Contents
[
Hide
]RenderingFont class
Font for rendering.
class RenderingFont;
Constructors
Name | Description |
---|---|
constructor(string, number) | Initializes a new instance of the RenderingFont |
Properties
Property | Type | Description |
---|---|---|
name | string | Readonly. Gets name of the font. |
size | number | Readonly. Gets size of the font in points. |
bold | boolean | Gets or sets bold for the font. |
italic | boolean | Gets or sets italic for the font. |
color | Color | Gets or sets color for the font. |
constructor(string, number)
Initializes a new instance of the RenderingFont
constructor(fontName: string, fontSize: number);
Parameters:
Parameter | Type | Description |
---|---|---|
fontName | string | font name |
fontSize | number | font size in points |
name
Readonly. Gets name of the font.
name : string;
size
Readonly. Gets size of the font in points.
size : number;
bold
Gets or sets bold for the font.
bold : boolean;
italic
Gets or sets italic for the font.
italic : boolean;
color
Gets or sets color for the font.
color : Color;