RenderingFont
Contents
[
Hide
]RenderingFont class
Font for rendering.
Constructors
| Name | Description |
|---|---|
| RenderingFont | Initializes a new instance of the RenderingFont |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | Gets name of the font. |
| Size | Number | 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. |
RenderingFont(fontName, fontSize)
Initializes a new instance of the RenderingFont
| Parameter | Type | Description |
|---|---|---|
| fontName | String | font name |
| fontSize | Number | font size in points |
RenderingFont.Name property
Gets name of the font.
Type: String
RenderingFont.Size property
Gets size of the font in points.
Type: Number
RenderingFont.Bold property
Gets or sets bold for the font.
Type: boolean
RenderingFont.Italic property
Gets or sets italic for the font.
Type: boolean
RenderingFont.Color property
Gets or sets color for the font.
Type: Color