fromJSON MethodStatic

Create a new ColorDef from a json object. If the json object is a number, it is assumed to be a 0xTTBBGGRR value.

fromJSON(json?: ColorDefProps): ColorDef

Parameter Type Description
json ColorDefProps  

Defined in

Last Updated: 23 April, 2020