fromRgb MethodStatic
Create a FeatureAppearance that overrides only the RGB color.
fromRgb(color: ColorDef): FeatureAppearance
@note The transparency component of the ColorDef is ignored.
Parameter | Type | Description |
---|---|---|
color | ColorDef |
Returns - FeatureAppearance
Defined in
- core/common/src/FeatureSymbology.ts Line 188
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.