Package Shapes

  • Class Summary 
    Class Description
    FreeDrawShape
    shape that consists of points to allow the user to drag any line he wants
    MyBoundedShape
    represent shapes that have area
    MyCircle
    a circle defined by two points, restricts to a valid circle!
    MyLine
    represents line that can be drawn
    MyOval
    makes a oval and draws it
    MyRectangle
    a rectangle shape class that knows how to draw the rectangle
    MyRoundedRectangle
    a rounded rectangle that draws rectangle width rounded corners
    MyShape
    class that represent the basic attributes of shape
    ShapeFactory
    makes new shapes with this factory, helps share settings throw different screens
  • Enum Summary 
    Enum Description
    ShapeFactory.Shapes
    the shapes that the factory supports, and representing strings for them