CutStyle Class

As part of a ClipStyle, describes how section-cut graphics should be displayed.

note Section-cut graphics are only produced if ClipStyle.produceCutGeometry is true.


Name Description
toJSON(): CutStyleProps | undefined Return JSON representation.  
create(viewflags?: Readonly<ViewFlagOverrides>, hiddenLine?: Settings, appearance?: FeatureAppearance.defaults): CutStyle Static Create a CutStyle from its components.  
fromJSON(props?: CutStyleProps): CutStyle Static    


Name Type Description
appearance undefined | FeatureAppearance.defaults If defined, overrides aspects of the symbology of the section-cut graphics.  
defaults Static CutStyle The default CutStyle, configured to draw the section-cut graphics using the view's settings, with no overrides.  
hiddenLine undefined | Settings If defined, overrides the settings the view uses to draw the edges of the section-cut graphics.  
matchesDefaults Accessor ReadOnly boolean Returns true if this style matches the default style - that is, it overrides none of the view's settings.  
viewflags Readonly<ViewFlagOverrides> Selectively overrides some of the view's ViewFlags when drawing the section-cut graphics.  

Defined in

Last Updated: 12 July, 2021