fromRgba MethodStatic
Create a FeatureAppearance that overrides the RGB and transparency. The appearance's transparency is derived from the transparency component of the ColorDef.
fromRgba(color: ColorDef, viewDependentTransparency: booleanfalse): FeatureAppearance
| Parameter | Type | Description | 
|---|---|---|
| color | ColorDef | |
| viewDependentTransparency | boolean | 
Returns - FeatureAppearance
Defined in
- core/common/src/FeatureSymbology.ts Line 195
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.