documentationfor yFiles for HTML 2.6

Properties

horizontalTextAlignmentin DefaultLabelStyleGets or sets the text alignment.
textAlignmentin WebGL2DefaultLabelStyleGets the horizontal text alignment for the label.

Method Return Values

getHorizontalTextAlignment ()in DefaultLabelStyleRendererDetermines how the text should be aligned within the assigned label bounds.
from (HorizontalTextAlignment)in HorizontalTextAlignmentConverts the argument to HorizontalTextAlignment.

Method Parameters

DefaultLabelStyle ()in DefaultLabelStyleCreates a new instance using DefaultLabelStyleRenderer as renderer.
DefaultLabelStyle (ILabelStyleRenderer, )in DefaultLabelStyleCreates a new instance using the provided renderer.
MarkupLabelStyle ()in MarkupLabelStyleCreates a new instance using MarkupLabelStyleRenderer as renderer.
MarkupLabelStyle (ILabelStyleRenderer, )in MarkupLabelStyleCreates a new instance using the provided renderer.
from (HorizontalTextAlignment)in HorizontalTextAlignmentConverts the argument to HorizontalTextAlignment.
WebGL2DefaultLabelStyle (Font?, Color?, Color?, WebGL2Stroke?, HorizontalTextAlignment?, number?, WebGL2LabelShape?, WebGL2Effect?, number?, WebGL2TextureRendering?, TextWrapping?, TextWrappingShape?, number?, VerticalTextAlignment?)in WebGL2DefaultLabelStyleCreates a new label style that is rendered with WebGL2.