public class RoundRectangleTemplate extends AbstractTemplate
Constructor and Description |
---|
RoundRectangleTemplate()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getArcHeight()
Returns the height of the arc that is used to round off the corners of rectangle.
|
float |
getArcWidth()
Returns the width of the arc that is used to round off the corners of rectangle.
|
Object |
getValue(ExpressionRuntime runtime,
ReportElement element)
Returns the template value, a RoundRectangle2D.
|
void |
setArcHeight(float arcHeight)
Defines the height of the arc that is used to round off the corners of rectangle.
|
void |
setArcWidth(float arcWidth)
Defines the width of the arc that is used to round off the corners of rectangle.
|
clone, getInstance, getName, setName
public float getArcWidth()
public void setArcWidth(float arcWidth)
arcWidth
- the width of the corner arcs.public float getArcHeight()
public void setArcHeight(float arcHeight)
arcHeight
- the height of the corner arcs.public Object getValue(ExpressionRuntime runtime, ReportElement element)
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
-