clone Method
Make a copy of this ColorDef.
clone(result?: ColorDef): ColorDef
Parameter | Type | Description |
---|---|---|
result | ColorDef | If supplied, the supplied ColorDef will be modified to match this ColorDef and returned. |
Returns - result if supplied; otherwise a new ColorDef equivalent to this one.
Defined in
Last Updated: 08 January, 2020