Method | Description | |
---|---|---|
DrawingObject ( |
Create new instance of the rectangle.
|
|
Move ( |
Translate the rectangle
|
|
Paint ( |
Draw the rectangle by applying rotation and scaling factors
|
|
ResetObject ( |
Set the default state for the drawing object
|
|
Rotate ( double angle, Point center ) : void |
Rotate the rectangle
|
|
ShiftColor ( ) : void |
Change the frame color
|
|
TogleDrawDiagonals ( ) : void |
Start or stop X drawing
|
|
Zoom ( double zoomFactor, Point center ) : void |
Change the rectangle size
|
Method | Description | |
---|---|---|
RangeFromCenter ( Point location ) : double |
public DrawingObject ( |
||
clientSize | The form size | |
return | System |
public Move ( |
||
size | The translation amount | |
return | void |
public Paint ( |
||
graphics | ||
return | void |
public ResetObject ( |
||
clientSize | ||
return | void |
public Rotate ( double angle, Point center ) : void | ||
angle | double | The relative angle |
center | Point | Rotation center point |
return | void |
public Zoom ( double zoomFactor, Point center ) : void | ||
zoomFactor | double | scaling factor |
center | Point | the zoom center point |
return | void |