documentationfor yFiles for HTML 3.0.0.3

Usages of TextWrapping

Properties

wrappingin LabelStyleGets or sets the text wrapping and trimming behavior.
wrappingin MarkupLabelStyleGets or sets the text wrapping and trimming behavior.
wrappingin WebGLLabelStyleGets the text wrapping and trimming behavior.

Method Return Values

from (TextWrapping)in TextWrappingConverts 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.
addText (SVGGElement | SVGTextElement, string, Font, Size?, TextWrapping?, TextMeasurePolicy?, boolean?, GeneralPath?)in TextRenderSupportAdd the text content to the provided SVG text element.
measureText (string, Font, Size?, TextWrapping?, TextMeasurePolicy?)in TextRenderSupportCalculates the width and height required to render the provided text using the provided Font, taking text-wrapping into account.
from (TextWrapping)in TextWrappingConverts the given argument to an enum constant of this enum type.
getName (TextWrapping)in TextWrappingReturns 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.