public class XprObjLine extends XprObjGraphics
| Modifier and Type | Field and Description |
|---|---|
private net.sf.jasperreports.engine.type.LineStyleEnum |
lineStyle
Current line style value.
|
private float |
lineWidth
The line width.
|
TYPE_BARCODE, TYPE_BOOKMARK, TYPE_FILLED_RECTANGLE, TYPE_IMAGE, TYPE_LINE, TYPE_RECTANGLE, TYPE_TEXT, TYPE_UNDEFINED| Constructor and Description |
|---|
XprObjLine(int lineColor,
double rowStart,
double colStart,
double rowEnd,
double colEnd,
int width)
Create a new line XPR object.
|
XprObjLine(int lineColor,
double rowStart,
double colStart,
double rowEnd,
double colEnd,
int width,
net.sf.jasperreports.engine.type.LineStyleEnum style)
Create a new line XPR object.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.jasperreports.engine.type.LineStyleEnum |
getLineStyle()
Returns the line style option.
|
float |
getLineWidth()
Returns the line width in points.
|
getColumnEnd, getRowEndgetColor, getColumn, getLeftMargin, getRow, getTopMargin, getType, setMargins, setPositionprivate float lineWidth
private net.sf.jasperreports.engine.type.LineStyleEnum lineStyle
public XprObjLine(int lineColor,
double rowStart,
double colStart,
double rowEnd,
double colEnd,
int width)
lineColor - Line color.rowStart - The starting row value for line.colStart - The starting column value for line.rowEnd - The ending row value for line.colEnd - The ending column value for line.width - The line width.public XprObjLine(int lineColor,
double rowStart,
double colStart,
double rowEnd,
double colEnd,
int width,
net.sf.jasperreports.engine.type.LineStyleEnum style)
lineColor - Line color.rowStart - The starting row value for line.colStart - The starting column value for line.rowEnd - The ending row value for line.colEnd - The ending column value for line.width - The line width.style - The line style.