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
- core/common/src/RgbColor.ts Line 38
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.