public interface JRPen
lineWidth attribute represents the width of the line measured in points.
Can be accessed using the getLineWidth() method.
lineStyle attribute represents the line style and has one of the following predefined values
(see getLineStyleValue()):
SolidDashedDottedDoublelineColor attribute represents the color of the line.
Can be accessed using the getLineColor() method.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Float |
LINE_WIDTH_0 |
static java.lang.Float |
LINE_WIDTH_1 |
| Modifier and Type | Method and Description |
|---|---|
JRPen |
clone(JRPenContainer penContainer) |
java.awt.Color |
getLineColor()
Gets the line color.
|
LineStyleEnum |
getLineStyleValue()
Indicates the line style used for this pen.
|
java.lang.Float |
getLineWidth()
Gets the line width used for this pen.
|
java.awt.Color |
getOwnLineColor() |
LineStyleEnum |
getOwnLineStyleValue()
Indicates the line style used for this pen.
|
java.lang.Float |
getOwnLineWidth() |
JRStyleContainer |
getStyleContainer() |
void |
setLineColor(java.awt.Color color)
Sets the line color.
|
void |
setLineStyle(LineStyleEnum lineStyleEnum)
Specifies the line style.
|
void |
setLineWidth(float lineWidth)
Sets the line width.
|
void |
setLineWidth(java.lang.Float lineWidth) |
static final java.lang.Float LINE_WIDTH_0
static final java.lang.Float LINE_WIDTH_1
JRStyleContainer getStyleContainer()
JRPen clone(JRPenContainer penContainer)
java.lang.Float getLineWidth()
java.lang.Float getOwnLineWidth()
void setLineWidth(float lineWidth)
lineWidth - the line widthvoid setLineWidth(java.lang.Float lineWidth)
LineStyleEnum getLineStyleValue()
LineStyleEnumLineStyleEnum getOwnLineStyleValue()
LineStyleEnumvoid setLineStyle(LineStyleEnum lineStyleEnum)
lineStyleEnum - a value representing one of the line style constants in LineStyleEnumjava.awt.Color getLineColor()
java.awt.Color getOwnLineColor()
void setLineColor(java.awt.Color color)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com