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: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.