C# Class Revit.SDK.Samples.ShaftHolePuncher.CS.LineTool

tool used to draw line
Inheritance: ITool
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
Draw ( Graphics graphic ) : void

draw lines recorded in the tool

OnMouseDown ( System e ) : void

record the location point where mouse clicked

OnMouseMove ( System graphic, System e ) : void

draw a line from end point of tool to the location where mouse moved

Method Details

Draw() public méthode

draw lines recorded in the tool
public Draw ( Graphics graphic ) : void
graphic System.Drawing.Graphics Graphics object, use to draw geometry
Résultat void

OnMouseDown() public méthode

record the location point where mouse clicked
public OnMouseDown ( System e ) : void
e System mouse event args
Résultat void

OnMouseMove() public méthode

draw a line from end point of tool to the location where mouse moved
public OnMouseMove ( System graphic, System e ) : void
graphic System graphic object,used to draw geometry
e System mouse event args
Résultat void