Class StringUtil.TextLayoutInfo
- java.lang.Object
-
- net.sourceforge.jeuclid.elements.support.text.StringUtil.TextLayoutInfo
-
- Enclosing class:
- StringUtil
public static class StringUtil.TextLayoutInfo extends java.lang.ObjectContains layout information retrieved from a TextLayout.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextLayoutInfo(float newAscent, float newDescent, float newOffset, float newWidth)Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAscent()Getter method for ascent.floatgetDescent()Getter method for descent.floatgetOffset()Getter method for offset.floatgetWidth()Getter method for width.
-
-
-
Method Detail
-
getAscent
public float getAscent()
Getter method for ascent.- Returns:
- the ascent
-
getDescent
public float getDescent()
Getter method for descent.- Returns:
- the descent
-
getOffset
public float getOffset()
Getter method for offset.- Returns:
- the offset
-
getWidth
public float getWidth()
Getter method for width.- Returns:
- the width
-
-