FeatureSymbology.Appearance Class

Deprecated  use FeatureAppearance

Extends

Methods

Name Description
constructor(props: FeatureAppearanceProps): FeatureSymbology.Appearance Protected    

Inherited methods

Name Inherited from Description
clone(changedProps: FeatureAppearanceProps): FeatureAppearance FeatureAppearance Create a copy of this appearance, overriding any properties explicitly specified by changedProps.
cloneProps(changedProps: FeatureAppearanceProps): FeatureAppearanceProps FeatureAppearance Convert this appearance to JSON, and override any properties explicitly specified by changedProps in the result.
equals(other: FeatureAppearance): boolean FeatureAppearance  
extendAppearance(base: FeatureAppearance): FeatureAppearance FeatureAppearance Produce a FeatureAppearance from the supplied appearance in which any aspect not defined by the base appearance is overridden by this appearance.
toJSON(): FeatureAppearanceProps FeatureAppearance  
fromJSON(props?: FeatureAppearanceProps): FeatureAppearance Static FeatureAppearance  
fromRgb(color: ColorDef): FeatureAppearance Static FeatureAppearance Create a FeatureAppearance that overrides only the RGB color.
fromRgba(color: ColorDef): FeatureAppearance Static FeatureAppearance Create a FeatureAppearance that overrides the RGB and transparency.
fromSubCategoryOverride(ovr: SubCategoryOverride): FeatureAppearance Static FeatureAppearance Create a FeatureAppearance with overrides corresponding to those defined by the supplied SubCategoryOverride.
fromTransparency(transparencyValue: number): FeatureAppearance Static FeatureAppearance Create a FeatureAppearance that overrides only the transparency

Inherited properties

Name Type Inherited from Description
anyOverridden Accessor ReadOnly boolean FeatureAppearance Returns true if any aspect of the appearance is overridden (i.e., if any member is not undefined).
defaults StaticReadonly FeatureAppearance FeatureAppearance An appearance that overrides nothing.
emphasized Readonly undefined | "true" FeatureAppearance  
ignoresMaterial Readonly undefined | "true" FeatureAppearance  
isFullyTransparent Accessor ReadOnly boolean FeatureAppearance  
linePixels Readonly undefined | LinePixels FeatureAppearance  
matchesDefaults Accessor ReadOnly boolean FeatureAppearance Returns true if this appearance does not override any aspects of symbology.
nonLocatable Readonly undefined | "true" FeatureAppearance  
overridesLinePixels Accessor ReadOnly boolean FeatureAppearance  
overridesNonLocatable Accessor ReadOnly boolean FeatureAppearance  
overridesRgb Accessor ReadOnly boolean FeatureAppearance  
overridesSymbology Accessor ReadOnly boolean FeatureAppearance  
overridesTransparency Accessor ReadOnly boolean FeatureAppearance  
overridesWeight Accessor ReadOnly boolean FeatureAppearance  
rgb Readonly undefined | RgbColor FeatureAppearance  
transparency Readonly undefined | number FeatureAppearance  
weight Readonly undefined | number FeatureAppearance  

Defined in

Last Updated: 11 June, 2024