Method | Description | |
---|---|---|
Clear ( ) : void |
clear all the points in the tool
|
|
Draw ( |
draw lines stored in the tool
|
|
GetPoints ( ) : List |
get all lines drawn in pictureBox
|
|
LineTool ( ) : System |
default constructor
|
|
OnMouseDown ( System e ) : void |
restore the location point where mouse click
|
|
OnMouseMove ( System graphic, System e ) : void |
draw a line from end point of tool to the location where mouse move
|
public Draw ( |
||
graphic | Graphics object, use to draw geometry | |
return | void |
public OnMouseDown ( System e ) : void | ||
e | System | mouse event args |
return | void |
public OnMouseMove ( System graphic, System e ) : void | ||
graphic | System | graphic object, used to draw geometry |
e | System | mouse event args |
return | void |