Font Class
Namespace: Stimulsoft.System.Drawing
Inheritance
Implements: ICloneable
Constructors
| Constructor | Description |
|---|---|
| constructor(any family, any emSize, FontStyle style, GraphicsUnit unit) |
constructor(family: any, emSize: any, style: FontStyle, unit: GraphicsUnit)
Parameters
- family (any)
- emSize (any)
- style (FontStyle)
- unit (GraphicsUnit)
Properties
| Property | Type | Description |
|---|---|---|
| bold | boolean | |
| italic | boolean | |
| name | string | |
| sizeInPoints | number | |
| strikeout | boolean | |
| underline | boolean |
Methods
| Method | Returns | Description |
|---|---|---|
| clone | any | Creates a new object that is a copy of the current instance. |
| getHashCode | number | |
| getHeight | number | |
| toString | string |
Method Details
clone
clone(cloneProperties: any, cloneComponents: any): any
Creates a new object that is a copy of the current instance.
Parameters
- cloneProperties (any)
- cloneComponents (any)
Returns any
getHashCode
getHashCode(): number
Returns number
getHeight
getHeight(): number
Returns number
toString
toString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| fontFamily | FontFamily | |
| size | number | |
| style | FontStyle | |
| unit | GraphicsUnit |