ColorFactory
Classes
ColorFactory
Constructors
Constructor
new ColorFactory(): ColorFactory;
Returns
Accessors
rgbColorProfileId
Set Signature
set static rgbColorProfileId(value): void;
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
void
Methods
createColor()
static createColor(
value,
throwException?,
attachRgbColorProfile?): Color;
Parameters
| Parameter | Type | Default value |
|---|---|---|
value | | string | IColor | Color | undefined |
throwException | boolean | false |
attachRgbColorProfile | boolean | false |
Returns
registerColor()
static registerColor(
typeName,
shortName,
colorConstructor): void;
Parameters
| Parameter | Type |
|---|---|
typeName | string |
shortName | string |
colorConstructor | ColorConstructor |
Returns
void