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 - ColorDef

result if supplied; otherwise a new ColorDef equivalent to this one.

Defined in

Last Updated: 13 June, 2024