HiddenLine.Style Class

Describes the symbology with which edges should be drawn.

Implements

Methods

Name Description
equals(other: HiddenLine.Style): boolean Returns true if this Style is equivalent to the supplied Style.  
overrideColor(color: ColorDef | undefined): HiddenLine.Style Create a Style equivalent to this one but with the specified color override.  
overridePattern(pattern: LinePixels | undefined): HiddenLine.Style Create a Style equivalent to this one but with the specified pattern override.  
overrideWidth(width: number | undefined): HiddenLine.Style Create a Style equivalent to this one but with the specified width override.  
toJSON(): HiddenLine.StyleProps    
fromJSON(json?: HiddenLine.StyleProps, hidden?: true): HiddenLine.Style Static    

Properties

Name Type Description
color undefined | ColorDef If defined, the color used to draw the edges.  
defaultHidden Static HiddenLine.Style    
defaultVisible Static HiddenLine.Style    
pattern undefined | LinePixels If defined, the pixel pattern used to draw the edges.  
width undefined | number If defined, the width of the edges in pixels.  

Defined in

Last Updated: 13 June, 2024