A style for use in WebGL2 rendering to render the selection, highlight, or focus indicator of edges.
Inheritance Hierarchy
Remarks
Members
No filters for this type
Constructors
Parameters
- type?: WebGLIndicatorType
- The type of the indicator. Defaults to a suitable value based on the theme of the CanvasComponent.
- thickness?: number
- The total thickness of the indicator style. Defaults to a suitable value based on the theme of the CanvasComponent.
- primaryColor?: Color
- The primary color of the indicator style. Defaults to a suitable value based on the theme of the CanvasComponent.
- secondaryColor?: Color
- The secondary color used for the outline or background of the indicator style. Defaults to a suitable value based on the theme of the CanvasComponent.
- zoomPolicy?: StyleIndicatorZoomPolicy
- How the style is affected by the current zoom level. Defaults to VIEW_COORDINATES.
- enterTransition?: WebGLTransition
- The transition to use when an element enters the indicator state. No visible transition by default.
- leaveTransition?: WebGLTransition
- The transition to use when an element leaves the indicator state. No visible transition by default.
- dashStrokeAnimation?: WebGLAnimationTiming
- The values that specify how the dash/dotted strokes should be animated. No visible animation by default.
Properties
Gets the values that specify how the dash/dotted strokes should be animated.
Gets the values that specify how the dash/dotted strokes should be animated.
By default strokes are not animated and the value is INSTANT.
readonlyfinal
Gets the transition to apply when this style gets newly applied to an edge visualization.
Gets the transition to apply when this style gets newly applied to an edge visualization.
readonlyfinal
Gets the transition to apply when this style gets removed from an edge visualization.
Gets the transition to apply when this style gets removed from an edge visualization.
readonlyfinal
Gets the primary color of the indicator style.
Gets the primary color of the indicator style.
readonlyfinal
Gets the secondary color of the indicator style.
Gets the secondary color of the indicator style.
For indicator styles with borders this will represent the color of the outline while, for other styles like dash, dotted or stripes this will represent the background color. For the hatch brush, this will be the second color.
readonlyfinal
The default value is taken from the theme of the CanvasComponent.
readonlyfinal
Gets the type of the indicator style.
Gets the type of the indicator style.
The default value is HATCH_BRUSH.
readonlyfinal
Gets how the style is affected by the current zoom level.
Gets how the style is affected by the current zoom level.
The default value is VIEW_COORDINATES.
readonlyfinal