documentationfor yFiles for HTML 3.0.0.3

SimpleLabel

A mutable implementation of the ILabel interface that can be used without an IGraph.

Inheritance Hierarchy
SimpleLabel
Implemented Interfaces

Remarks

Note that this class is not the one used as the default implementation of a Graph's ILabels and casting them to SimpleLabel will fail. Instances of this class can be used without an accompanying graph instance. All the properties are mutable. An example of a possible use case would be the rendering of a label into a graphics context: Simply create a SimpleLabel, associate a style with it and use the style's renderer instance to obtain a rendering for the label.

Type Details

yFiles module
view

Constructors

Properties

Methods