documentationfor yFiles for HTML 2.6

Method Return Values

from (TextMeasurePolicy)in TextMeasurePolicyConverts the argument to TextMeasurePolicy.

Method Parameters

from (TextMeasurePolicy)in TextMeasurePolicyConverts the argument to TextMeasurePolicy.
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.