documentationfor yFiles for HTML 2.6

LabelStyleDecorationInstaller

Allows the use of an ILabelStyle to render the selection, highlight or focus indicator of labels.

Inheritance Hierarchy
LabelStyleDecorationInstaller
Implemented Interfaces

Remarks

The renderer of the labelStyle used by this class must create SvgVisuals.

The zoomPolicy property defines how the zoom level affects the rendering of the indicator. It can either scale according to the zoom level similar to regular graph items or have always to same thickness regardless of the zoom, similar to the default yFiles indicators.

An alternative to this class is setting an instance of IndicatorLabelStyleDecorator to the labelStyle property of the GraphSelectionIndicatorManager, GraphFocusIndicatorManager or GraphHighlightIndicatorManager classes.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.LabelStyleDecorationInstaller

See Also

Constructors

Properties

Methods