documentationfor yFiles for HTML 3.0.0.3

Properties

horizontalTextAlignmentin LabelStyleGets or sets the text alignment.
horizontalTextAlignmentin MarkupLabelStyleGets or sets the text alignment.
horizontalTextAlignmentin WebGLLabelStyleGets the horizontal text alignment for the label.

Method Return Values

from (HorizontalTextAlignment)in HorizontalTextAlignmentConverts the given argument to an enum constant of this enum type.

Method Parameters

LabelStyle ()in LabelStyle
MarkupLabelStyle ()in MarkupLabelStyleCreates a new instance using an ILabelStyleRenderer implementation as renderer.
from (HorizontalTextAlignment)in HorizontalTextAlignmentConverts the given argument to an enum constant of this enum type.
getName (HorizontalTextAlignment)in HorizontalTextAlignmentReturns the name of the given enum constant.
WebGLLabelStyle (Font?, Color?, Color?, WebGLStroke?, HorizontalTextAlignment?, Insets?, WebGLLabelShape?, WebGLEffect?, number?, WebGLTextureRendering?, TextWrapping?, TextWrappingShape?, number?, VerticalTextAlignment?)in WebGLLabelStyleCreates a new label style that is rendered with WebGL2.