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