documentationfor yFiles for HTML 2.6

Properties

verticalTextAlignmentin DefaultLabelStyleGets or sets the vertical text alignment to use if the label is assigned more space than needed.
verticalTextAlignmentin WebGL2DefaultLabelStyleGets the vertical text alignment to use if the label is assigned more space than needed.

Method Return Values

getVerticalTextAlignment ()in DefaultLabelStyleRendererDetermines how the text should be aligned vertically within the assigned label bounds.
from (VerticalTextAlignment)in VerticalTextAlignmentConverts the argument to VerticalTextAlignment.

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 (VerticalTextAlignment)in VerticalTextAlignmentConverts the argument to VerticalTextAlignment.
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.