fromColorDef MethodStatic

Constructs from the red, green, and blue components of a ColorDef. The transparency component is ignored.

fromColorDef(colorDef: ColorDef): RgbColor

Parameter Type Description
colorDef ColorDef  

Returns - RgbColor

Defined in

Last Updated: 11 June, 2024