|
barcode4j 2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is implemented to provide an output format that is using a coordinate system.
| Method Summary | |
void |
deviceCenteredText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize)
Draws centered text. |
void |
deviceFillRect(double x,
double y,
double w,
double h)
Paints a filled rectangle. |
void |
deviceJustifiedText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize)
Draws justified text. |
void |
deviceText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize,
TextAlignment textAlign)
Draws text. |
void |
establishDimensions(BarcodeDimension dim)
Sets the dimensions of the barcode. |
BarcodeDimension |
getDimensions()
Returns the barcode dimensions once established. |
int |
getOrientation()
Returns the orientation of the barcode. |
| Method Detail |
public void establishDimensions(BarcodeDimension dim)
dim - the dimensions of the barcodepublic BarcodeDimension getDimensions()
public int getOrientation()
public void deviceFillRect(double x,
double y,
double w,
double h)
x - x coordinate of the upper left cornery - y coordinate of the upper left cornerw - the widthh - the height
public void deviceJustifiedText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize)
text - the text to drawx1 - the left boundaryx2 - the right boundaryy1 - the y coordinatefontName - the name of the fontfontSize - the size of the font
public void deviceCenteredText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize)
text - the text to drawx1 - the left boundaryx2 - the right boundaryy1 - the y coordinatefontName - the name of the fontfontSize - the size of the font
public void deviceText(java.lang.String text,
double x1,
double x2,
double y1,
java.lang.String fontName,
double fontSize,
TextAlignment textAlign)
text - the text to drawx1 - the left boundaryx2 - the right boundaryy1 - the y coordinatefontName - the name of the fontfontSize - the size of the fonttextAlign - the text alignment
|
barcode4j 2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||