EClass NestedLabel
Defines a nested labels. This behaves like a text box on its parent Vertex. Long texts are wrapped to multilines. Too long texts are cut once the parent Vertex is full.
- ePackage:
- inherits from:
- contained by:
StaticSubVertex (via Label), StaticVertex (via Label), SubVertex (via Label), Vertex (via Label), VertexA (via Label)
EAttributes
- anchor (VertexAnchors)
Defines where the label is anchored at the vertex. By default puts the center of the label at the specified corner/side. Note that this is typically on the line. FloatingLabel: Add labelOffset to precisely locate the FloatingLabel as desired. NestedLabel: Combine with labelAlignment/labelVerticalAlignment for optimal “text box” behavior. Align the label with the anchor. E.g. NORTH: vertical TOP. EAST: horizontal RIGHT. NORTHEAST: vertical TOP, horizontal RIGHT.
- labelAlignment (HorizontalAlignment)
Defines the label’s horizontal alignment.
- labelOffsetX (EInt)
Defines a offset in x-direction that is added to the calculated position of the label. For text box behavior, prefer anchor + labelVertialAlignment + labelAlignment.
- labelOffsetY (EInt)
Defines a offset in y-direction that is added to the calculated position of the label. For text box behavior, prefer anchor + labelVertialAlignment + labelAlignment.
- labelRotation (EDouble) - Future Feature
@future Defines the label’s rotation. Not fully implemented, no “text box” behavior.
- labelVerticalAlignment (VerticalAlignment)
Defines the label’s vertical alignment.
- levelOfDetail (EDouble) - Future Feature
@future not (yet) implemented Defines at which zoom level this label should be displayed.
- name (EString)
Defines the label’s name.
- resizeBehavior (ResizeBehavior) - Future Feature
@future Defines how this label affects auto-sizing.
EReferences
- segments (LabelSegment) (lowerBound=0, upperBound=-1) (containment)
Defines the label’s segments.