Method | Description | |
---|---|---|
Draw ( |
Draw rectangles
|
|
OnMouseDown ( |
Mouse down event handler
|
|
OnMouseMove ( |
Mouse move event handler
|
|
OnMouseUp ( |
Mouse up event handler
|
|
RectTool ( ) : System |
Default constructor
|
Method | Description | |
---|---|---|
DrawRect ( |
Draw rectangle use the given two opposite point p1 and p2
|
public Draw ( |
||
graphic | Graphics object,used to draw geometry | |
return | void |
public OnMouseDown ( |
||
graphic | Graphics object,used to draw geometry | |
e | MouseEventArgs | Mouse event argument |
return | void |
public OnMouseMove ( |
||
graphic | Graphics object,used to draw geometry | |
e | MouseEventArgs | Mouse event argument |
return | void |
public OnMouseUp ( |
||
graphic | Graphics object,used to draw geometry | |
e | MouseEventArgs | Mouse event argument |
return | void |