public class PrintablePage.PrintableTextItem extends PrintablePage.PrintableItem
maxWidth, positionX, positionY
currentFontSpec, originalFont
Constructor and Description |
---|
PrintableTextItem(java.lang.String text,
FontSpecification fontSpec,
double PositionX,
double PositionY) |
PrintableTextItem(java.lang.String text,
FontSpecification fontSpec,
double PositionX,
double PositionY,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
void |
drawYourselfUpon(java.awt.Graphics graphics) |
FontSpecification |
getFontSpec() |
java.lang.String |
toString() |
getPositionX, getPositionY
changeFontIfNew, getCompletelyLoadedImage, getCompletelyLoadedImage, getPx, getPxD, getRightAllignOffset, getRightAllignStartPoint, limit, limit, resetFont, setOnBold, wrap
public PrintableTextItem(java.lang.String text, FontSpecification fontSpec, double PositionX, double PositionY, java.awt.Color color)
public PrintableTextItem(java.lang.String text, FontSpecification fontSpec, double PositionX, double PositionY)
public FontSpecification getFontSpec()
public void drawYourselfUpon(java.awt.Graphics graphics)
drawYourselfUpon
in class PrintablePage.PrintableItem
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de