FeatureSymbology.Appearance Class

Deprecated use FeatureAppearance

Extends

Implements

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 Static FeatureAppearance FeatureAppearance An appearance that overrides nothing.
emphasized true | undefined FeatureAppearance  
ignoresMaterial true | undefined FeatureAppearance  
isFullyTransparent Accessor ReadOnly boolean FeatureAppearance  
linePixels undefined | LinePixels FeatureAppearance  
nonLocatable true | undefined 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 undefined | RgbColor FeatureAppearance  
transparency undefined | number FeatureAppearance  
weight undefined | number FeatureAppearance  

Defined in

Last Updated: 16 August, 2020