ColorTranslator Class
Namespace: Stimulsoft.System.Drawing
Methods
| Method | Returns | Description |
|---|---|---|
fromHtml static |
Color | |
toHtml static |
string | |
toHtml2 static |
string |
Method Details
fromHtml static
fromHtml(text: string): Color
Parameters
- text (string)
Returns Color
toHtml static
toHtml(color: Color): string
Parameters
- color (Color)
Returns string
toHtml2 static
toHtml2(color: Color, useNamedColor: boolean): string
Parameters
- color (Color)
- useNamedColor (boolean)
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| color | any | |
| offset | any | |
| text1 | any | |
| textA | any |