documentationfor yFiles for HTML 2.6

IndicatorPortStyleDecorator

Allows to scale the visualization of an IPortStyle depending on the zoom level.

Inheritance Hierarchy
IndicatorPortStyleDecorator
Implemented Interfaces

Remarks

Especially, this decorator is intended to be used in combination with an existing port style as zoom-invariant visualization for selection, focus or highlight indication.

The zoomPolicy property defines how the zoom level affects the rendering of the wrapped style. It can either scale according to the zoom level, similar to regular chart elements, or it can simulate a zoom level of one so that, for example, the pen thickness does not scale up or down, similar to the default yFiles indicators.

Type Details

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

See Also

Constructors

Properties

Methods