net.sf.jasperreports.engine

## 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.
  Version:
    $Id: JRCommonRectangle.java 7043 2014-04-24 12:11:59Z shertage $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Integer` | `getOwnRadius()`
    `int` | `getRadius()` Indicates the corner radius for rectangles with round corners.
    `void` | `setRadius(int radius)` Sets the corner radius for rectangles with round corners.
    `void` | `setRadius(java.lang.Integer radius)`

    - ### Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer

      `getDefaultStyleProvider, getStyle, getStyleNameReference`

- - ### Method Detail

    - #### getRadius

          int getRadius()

      Indicates the corner radius for rectangles with round corners. The default is 0.

    - #### getOwnRadius

          java.lang.Integer getOwnRadius()

    - #### setRadius

          void setRadius(int radius)

      Sets the corner radius for rectangles with round corners.

    - #### setRadius

          void setRadius(java.lang.Integer radius)

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com