Package de.xima.fc.pdf.form
Interface IPdfText
-
public interface IPdfTextRepresents a piece of plain text in the image, used e.g. for form element labels.- Since:
- 7.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFontFamily()floatgetFontSize()Set<ETextFormatFlag>getFormat()floatgetHeight()StringgetText()floatgetWidth()floatgetX()floatgetY()
-
-
-
Method Detail
-
getFontFamily
String getFontFamily()
- Returns:
- The font family to be used for the text.
-
getFontSize
float getFontSize()
- Returns:
- Size of the text in (typographic) points.
-
getFormat
Set<ETextFormatFlag> getFormat()
- Returns:
- The formatting for the text, e.g. bold or italic.
-
getHeight
float getHeight()
- Returns:
- Height of the text.
-
getText
String getText()
- Returns:
- Content of the text.
-
getWidth
float getWidth()
- Returns:
- Width of the text.
-
getX
float getX()
- Returns:
- X coordinate of the bottom left corner of the text.
-
getY
float getY()
- Returns:
- Y coordinate of the bottom left corner of the text.
-
-