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()
):
Solid
Dashed
Dotted
Double
lineColor
attribute represents the color of the line.
Can be accessed using the getLineColor()
method.Modifier and Type | Field and Description |
---|---|
static Float |
LINE_WIDTH_0 |
static Float |
LINE_WIDTH_1 |
Modifier and Type | Method and Description |
---|---|
JRPen |
clone(JRPenContainer penContainer) |
Color |
getLineColor()
Gets the line color.
|
LineStyleEnum |
getLineStyleValue()
Indicates the line style used for this pen.
|
Float |
getLineWidth()
Gets the line width used for this pen.
|
Color |
getOwnLineColor() |
LineStyleEnum |
getOwnLineStyleValue()
Indicates the line style used for this pen.
|
Float |
getOwnLineWidth() |
JRPenContainer |
getPenContainer() |
JRStyleContainer |
getStyleContainer()
Deprecated.
Replaced by
getPenContainer() . |
void |
setLineColor(Color color)
Sets the line color.
|
void |
setLineStyle(LineStyleEnum lineStyleEnum)
Specifies the line style.
|
void |
setLineWidth(float lineWidth)
Sets the line width.
|
void |
setLineWidth(Float lineWidth) |
static final Float LINE_WIDTH_0
static final Float LINE_WIDTH_1
JRStyleContainer getStyleContainer()
getPenContainer()
.JRPenContainer getPenContainer()
JRPen clone(JRPenContainer penContainer)
Float getLineWidth()
Float getOwnLineWidth()
void setLineWidth(float lineWidth)
lineWidth
- the line widthvoid setLineWidth(Float lineWidth)
LineStyleEnum getLineStyleValue()
LineStyleEnum
LineStyleEnum getOwnLineStyleValue()
LineStyleEnum
void setLineStyle(LineStyleEnum lineStyleEnum)
lineStyleEnum
- a value representing one of the line style constants in LineStyleEnum
Color getLineColor()
Color getOwnLineColor()
void setLineColor(Color color)
Copyright © 2017. All rights reserved.