Class RMRectShape

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener
Direct Known Subclasses:
RMImageShape, RMSubreport, RMTextShape

public class RMRectShape extends RMShape
This class represents a simple rectangle shape with a rounding radius.
  • Constructor Details

    • RMRectShape

      public RMRectShape()
  • Method Details

    • getRadius

      public float getRadius()
      Returns the rounding radius for the rectangle.
    • setRadius

      public void setRadius(float aValue)
      Sets the rounding radius for the rectangle.
    • getPath

      public RMPath getPath()
      Returns the path for the rectangle (building path with rounded corners if needed).
      Overrides:
      getPath in class RMShape
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Specified by:
      toXML in interface Archivable
      Overrides:
      toXML in class RMShape
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Specified by:
      fromXML in interface Archivable
      Overrides:
      fromXML in class RMShape