offapi: clarify documentation of TextFitToSizeType

Change-Id: Iae2ee1e77d9cdc0b98241c47e009d37a9e72e000
This commit is contained in:
Michael Stahl 2017-10-17 22:44:26 +02:00
parent afe4d2527e
commit 8304de4701

View file

@ -28,24 +28,24 @@
*/ */
published enum TextFitToSizeType published enum TextFitToSizeType
{ {
/** the text size is only defined by the font properties /** The text size is only defined by the font properties.
*/ */
NONE, NONE,
/** The font is scaled up or down proportionally to fit the
/** if the shape is scaled, the text character size is scaled proportional size of the shape. This may scale anisotropically.
No AutoGrow and no Auto line-breaks in this case.
*/ */
PROPORTIONAL, PROPORTIONAL,
/** Like <code>PROPORTIONAL</code>, but each line of text
/** like <code>PROPORTIONAL</code>, but the width of each text row is is separately scaled proportionally to fit the width.
also scaled proportional. No AutoGrow and no Auto line-breaks in this case.
*/ */
ALLLINES, ALLLINES,
/** The font is scaled down (never up!) isotropically to fit the
/** if the shape is scaled, the font is scaled isotropically to available space. Auto line-breaks will keep working.
fit the available space. Auto line-breaks will keep working
*/ */
AUTOFIT AUTOFIT