A style for use in WebGL2 rendering to render the selection, highlight, or focus indicator of nodes.
Inheritance Hierarchy
Remarks
See Also
Members
No filters for this type
Constructors
Parameters
- shape?: WebGLNodeIndicatorShape
- The shape of the node. Defaults to NODE_SHAPE.
- 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.
- margins?: number
- The margins around the node layout. 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 a node visualization.
Gets the transition to apply when this style gets newly applied to a node visualization.
readonlyfinal
Gets the transition to apply when this style gets removed from a node visualization.
Gets the transition to apply when this style gets removed from a node visualization.
readonlyfinal
Actually, the bounds rendered by the style is the original node layout enlarged by these margins. Taking into account the zoomPolicy, this will either be interpreted in view or world coordinates.
The default margins have a value of 0.
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
Gets the shape of this style.
Gets the shape of this style.
The default value is NODE_SHAPE.
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 taken from the theme of the CanvasComponent.
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