Package org.fit.pdfdom
Class TextMetrics
- java.lang.Object
-
- org.fit.pdfdom.TextMetrics
-
public class TextMetrics extends Object
-
-
Constructor Summary
Constructors Constructor Description TextMetrics(org.apache.pdfbox.text.TextPosition tp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(org.apache.pdfbox.text.TextPosition tp)floatgetAscent()floatgetBaseline()floatgetBottom()floatgetBoundingBoxAscent()static floatgetBoundingBoxAscent(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize)floatgetBoundingBoxDescent()static floatgetBoundingBoxDescent(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize)floatgetDescent()floatgetHeight()floatgetPointSize()floatgetTop()floatgetWidth()floatgetX()
-
-
-
Method Detail
-
append
public void append(org.apache.pdfbox.text.TextPosition tp)
-
getX
public float getX()
-
getTop
public float getTop()
-
getBottom
public float getBottom()
-
getBaseline
public float getBaseline()
-
getAscent
public float getAscent()
-
getDescent
public float getDescent()
-
getBoundingBoxDescent
public float getBoundingBoxDescent()
-
getBoundingBoxAscent
public float getBoundingBoxAscent()
-
getBoundingBoxDescent
public static float getBoundingBoxDescent(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize)
-
getBoundingBoxAscent
public static float getBoundingBoxAscent(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize)
-
getWidth
public float getWidth()
-
getHeight
public float getHeight()
-
getPointSize
public float getPointSize()
-
-