메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public OnMouseMove ( System graphic, System e ) : void | ||
graphic | System | graphic object, used to draw geometry |
e | System | mouse event args |
리턴 | void |