Package net.sf.jasperreports.engine
Interface JRCommonRectangle
- All Superinterfaces:
JRStyleContainer
- All Known Subinterfaces:
JRPrintRectangle
,JRRectangle
- All Known Implementing Classes:
JRBasePrintRectangle
,JRBaseRectangle
,JRDesignRectangle
,JRFillRectangle
,JRTemplatePrintRectangle
,JRTemplateRectangle
An abstract representation of a graphic element representing a rectangle.
Rectangle elements are the simplest report elements. They share almost all their settings
with most other report elements.
The
radius
attribute (see getRadius()
) specifies the radius for the
arcs used to draw the corners of the rectangle. The default value is 0, meaning that the
rectangle has normal, square corners.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionint
Indicates the corner radius for rectangles with round corners.void
Sets the corner radius for rectangles with round corners.Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
Method Details
-
getRadius
int getRadius()Indicates the corner radius for rectangles with round corners. The default is 0. -
getOwnRadius
Integer getOwnRadius() -
setRadius
Sets the corner radius for rectangles with round corners.
-