Class Circle


  • public class Circle
    extends AbstractShape

    Circle objects represent circular shape that can be added to whiteboard surface.

    Client doesn't need to use this explicitly unless custom whiteboard is created.

    See Also:
    WhiteboardSurface
    • Method Detail

      • getTopLeft

        public Point getTopLeft()
        Returns top left point of the circle. Represents the starting point of the circle.
        Returns:
        top left point
      • getBottomRight

        public Point getBottomRight()
        Returns bottom right point of the circle. Represents the end point of the circle.
        Returns:
        bottom right point
      • isFilled

        public boolean isFilled()
        Indicates whether the circle is filled.
        Returns:
        true if shape is filled, otherwise false