Class RMOvalShape

    • Constructor Detail

      • RMOvalShape

        public RMOvalShape()
        Creates a plain oval (draws stroke).
      • RMOvalShape

        public RMOvalShape​(float startAngle,
                           float sweep)
        Creates an oval with the given startAngle and sweep.
    • Method Detail

      • getStartAngle

        public float getStartAngle()
        Returns the start angle for the oval.
      • setStartAngle

        public void setStartAngle​(float aValue)
        Sets the start angle for the oval.
      • getSweepAngle

        public float getSweepAngle()
        Returns the sweep angle for the oval.
      • setSweepAngle

        public void setSweepAngle​(float aValue)
        Sets the sweep angle for the oval.
      • getDrawsWedge

        public boolean getDrawsWedge()
        Return whether the oval draws lines from the unswept portion of the oval to the center (like a pie wedge).
      • setDrawsWedge

        public void setDrawsWedge​(boolean aFlag)
        Sets whether the oval draws lines from the unswept portion of the oval to the center (like a pie wedge).

        Note (kathy): does not appear to get called anywhere. Not adding as a property, because it has no effect.

      • getPath

        public RMPath getPath()
        Returns the (oval) path for this shape.
        Overrides:
        getPath in class RMShape
      • getPropertyNames

        protected void getPropertyNames​(java.util.List<java.lang.String> aList)
        Returns the property names for RMShape.
        Overrides:
        getPropertyNames in class RMShape