Interface DSSFontMetrics
- All Known Implementing Classes:
AbstractDSSFontMetrics, ITextDSSFontMetrics, JavaDSSFontMetrics, PdfBoxDSSFontMetrics
public interface DSSFontMetrics
Performs operations on a Font object corresponding the used implementation
-
Method Summary
Modifier and TypeMethodDescriptioncomputeTextBoundaryBox(String text, float fontSize) Computes a text boundary boxfloatComputes a height for a string of a given sizeString[]Returns an array of strings, divided by a new line characterfloatComputes a width for a string of a given size
-
Method Details
-
getLines
-
computeTextBoundaryBox
Computes a text boundary box- Parameters:
text-Stringthe original text to get Dimension forfontSize- the size of a font- Returns:
AnnotationBoxof the text
-
getWidth
-
getHeight
-