documentationfor yFiles for HTML 3.0.0.3

StretchNodeLabelModel

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

Inheritance Hierarchy
StretchNodeLabelModel
Implemented Interfaces

Remarks

This label model supports seven positions inside 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, LEFT, and RIGHT the label is rotated by 90 degrees.

Type Details

yFiles module
view

Sample Graphs

Constructors

Properties

Methods

Constants