C# 클래스 Revit.SDK.Samples.NewOpenings.CS.LineTool

Tool used to draw line
상속: ITool
파일 보기 프로젝트 열기: AMEE/revit

공개 메소드들

메소드 설명
Draw ( Graphics graphic ) : void

Draw lines

LineTool ( ) : System

Default constructor

OnMouseDown ( System graphic, MouseEventArgs e ) : void

Mouse down event handler

OnMouseMove ( System graphic, MouseEventArgs e ) : void

Mouse move event handle

OnRightMouseClick ( Graphics graphic, MouseEventArgs e ) : void

Right mouse click handler

메소드 상세

Draw() 공개 메소드

Draw lines
public Draw ( Graphics graphic ) : void
graphic System.Drawing.Graphics Graphics object, used to draw geometry
리턴 void

LineTool() 공개 메소드

Default constructor
public LineTool ( ) : System
리턴 System

OnMouseDown() 공개 메소드

Mouse down event handler
public OnMouseDown ( System graphic, MouseEventArgs e ) : void
graphic System Graphics object, used to draw geometry
e MouseEventArgs Mouse event argument
리턴 void

OnMouseMove() 공개 메소드

Mouse move event handle
public OnMouseMove ( System graphic, MouseEventArgs e ) : void
graphic System Graphics object, used to draw geometry
e MouseEventArgs Mouse event argument
리턴 void

OnRightMouseClick() 공개 메소드

Right mouse click handler
public OnRightMouseClick ( Graphics graphic, MouseEventArgs e ) : void
graphic System.Drawing.Graphics Graphics object, used to drawing geometry
e MouseEventArgs Mouse event argument
리턴 void