Photo_Editor_Application.RectangleComponent Class
The RectangleComponent class implements the functionality to draw a rectangle into the picture.

Access: Public
Base Classes: GraphicsComponent
  Members Description  
    RectangleComponent Constructs a Rectangle object.

 
    Draw Method that draws the rectangle component into the graphics object. The DrawRectangle method provided by GDI+ is used to actually draw the graphic primitive. Depending on the /// mouse movement the width height and position are adjusted.