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

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

공개 메소드들

메소드 설명
CircleTool ( ) : System

Default constructor

Draw ( Graphics graphic ) : void

Draw circles contained in the tool

OnMouseDown ( Graphics graphic, MouseEventArgs e ) : void

Mouse down event handler

OnMouseMove ( Graphics graphic, MouseEventArgs e ) : void

Mouse move event handler

OnMouseUp ( Graphics graphic, MouseEventArgs e ) : void

Mouse up event handler

비공개 메소드들

메소드 설명
DrawCircle ( Graphics graphics, Pen pen, Point pCenter, Point pBound ) : void

Draw circle with center and one point on circle

메소드 상세

CircleTool() 공개 메소드

Default constructor
public CircleTool ( ) : System
리턴 System

Draw() 공개 메소드

Draw circles contained in the tool
public Draw ( Graphics graphic ) : void
graphic System.Drawing.Graphics
리턴 void

OnMouseDown() 공개 메소드

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

OnMouseMove() 공개 메소드

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

OnMouseUp() 공개 메소드

Mouse up event handler
public OnMouseUp ( Graphics graphic, MouseEventArgs e ) : void
graphic System.Drawing.Graphics Graphics object, used to draw geometry
e MouseEventArgs Mouse event argument
리턴 void