Class RMRectangle

    • Constructor Detail

      • RMRectangle

        public RMRectangle()
        Creates a plain rectangle.
    • Method Detail

      • 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
      • equals

        public boolean equals​(java.lang.Object anObj)
        Standard equals implementation.
        Overrides:
        equals in class RMShape
      • copy

        public void copy​(java.lang.Object anObj)
        Copies the attributes from the given object.
        Overrides:
        copy in class RMShape