Interface JRCommonRectangle

All Superinterfaces:
JRStyleContainer
All Known Subinterfaces:
JRPrintRectangle, JRRectangle
All Known Implementing Classes:
JRBasePrintRectangle, JRBaseRectangle, JRDesignRectangle, JRFillRectangle, JRTemplatePrintRectangle, JRTemplateRectangle

public interface JRCommonRectangle extends JRStyleContainer
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 Details

    • getRadius

      int getRadius()
      Indicates the corner radius for rectangles with round corners. The default is 0.
    • getOwnRadius

      Integer getOwnRadius()
    • setRadius

      void setRadius(Integer radius)
      Sets the corner radius for rectangles with round corners.