documentationfor yFiles for HTML 2.6

InteriorStretchLabelModel

A label model for node labels that lie inside of the node's layout bounds and have been stretched to fit the node's size.

Inheritance Hierarchy
InteriorStretchLabelModel
Implemented Interfaces

Remarks

This label model supports seven positions inside of the layout's bounds.

The label's preferredSize is ignored. Instead, the label is stretched to fit the node's width and/or height.

For the vertical positions CENTER_VERTICAL, WEST, and EAST the label is rotated by 90 degrees.

Type Details

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

See Also

Sample Graphs

Constructors

Properties

Methods

Constants