FeatureSymbology.Appearance Class

Defines overrides for selected aspects of a Feature's symbology. Any member defined in the Appearance overrides that aspect of symbology for all Features to which the Appearance is applied.

see FeatureSymbology.Overrides

Implements

Methods

Name Description
equals(other: FeatureSymbology.Appearance): boolean    
extendAppearance(base: FeatureSymbology.Appearance): FeatureSymbology.Appearance Produce an Appearance from the supplied Appearance in which any aspect not defined by the base Appearance is overridden by this Appearance.  
toJSON(): FeatureSymbology.AppearanceProps    
fromJSON(props?: FeatureSymbology.AppearanceProps): FeatureSymbology.Appearance Static    
fromRgb(color: ColorDef): FeatureSymbology.Appearance Static Create an Appearance that overrides only the RGB color of a Feature.  
fromRgba(color: ColorDef): FeatureSymbology.Appearance Static Create an Appearance that overrides the RGB and transparency of a Feature.  
fromSubCategoryOverride(ovr: SubCategoryOverride): FeatureSymbology.Appearance Static Create an Appearance with overrides corresponding to those defined by the supplied SubCategoryOverride.  
fromTransparency(transparencyValue: number): FeatureSymbology.Appearance Static Create an Appearance that overrides only the transparency  

Properties

Name Type Description
defaults Static FeatureSymbology.Appearance An Appearance which overrides nothing.  
emphasized true | undefined If true, the associated Feature will be emphasized. Beta
ignoresMaterial true | undefined If true, ignore the RenderMaterial associated with surfaces.  
isFullyTransparent Accessor ReadOnly boolean    
linePixels undefined | LinePixels The pixel pattern used to draw lines.  
nonLocatable true | undefined If true, ignore the Feature when using Viewport.readPixels.  
overridesLinePixels Accessor ReadOnly boolean    
overridesRgb Accessor ReadOnly boolean    
overridesSymbology Accessor ReadOnly boolean    
overridesTransparency Accessor ReadOnly boolean    
overridesWeight Accessor ReadOnly boolean    
rgb undefined | RgbColor The rgb color.  
transparency undefined | number The transparency in the range [0.0, 1.0] where 0 indicates fully opaque and 1 indicates fully transparent.  
weight undefined | number The line width, in pixels.  

Defined in

Last Updated: 08 January, 2020