public class LineElement extends AbstractPrintingElement
| Modifier and Type | Field and Description |
|---|---|
protected int |
pixelWidth |
protected int |
xf |
protected int |
xi |
protected int |
yf |
protected int |
yi |
aligment, bgcolor, bold, color, contain, DEBUG, defaultFont, fontSize, id, italics, MM_PER_INCH, PPICENTER, LEFT, RIGHT| Constructor and Description |
|---|
LineElement(Hashtable parameters) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
paint(Graphics g,
double scale) |
void |
setHeight(int h) |
void |
setWidth(int w) |
void |
setX(int x) |
void |
setY(int y) |
getId, getInteger, millimeterToPagePixels, millimeterToPagePixels, pagePixelsToMillimeters, paintInPage, setBasicParameters, setContent, toStringprotected int xi
protected int yi
protected int xf
protected int yf
protected int pixelWidth
public LineElement(Hashtable parameters)
public int getX()
getX in interface PrintingElementgetX in class AbstractPrintingElementpublic int getY()
getY in interface PrintingElementgetY in class AbstractPrintingElementpublic int getWidth()
getWidth in interface PrintingElementgetWidth in class AbstractPrintingElementpublic int getHeight()
getHeight in interface PrintingElementgetHeight in class AbstractPrintingElementpublic void setX(int x)
setX in interface PrintingElementsetX in class AbstractPrintingElementpublic void setY(int y)
setY in interface PrintingElementsetY in class AbstractPrintingElementpublic void setWidth(int w)
setWidth in interface PrintingElementsetWidth in class AbstractPrintingElementpublic void setHeight(int h)
setHeight in interface PrintingElementsetHeight in class AbstractPrintingElementpublic void paint(Graphics g, double scale)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.