fromRgb MethodStatic

Create an Appearance that overrides only the RGB color of a Feature.

fromRgb(color: ColorDef): FeatureSymbology.Appearance

note The transparency component of the ColorDef is ignored.

Parameter Type Description
color ColorDef  

Returns - FeatureSymbology.Appearance

Defined in

Last Updated: 13 June, 2024