C# Класс Revit.SDK.Samples.ShaftHolePuncher.CS.LineTool

tool used to draw line
Наследование: ITool
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Draw() публичный Метод

draw lines recorded in the tool
public Draw ( Graphics graphic ) : void
graphic System.Drawing.Graphics Graphics object, use to draw geometry
Результат void

OnMouseDown() публичный Метод

record the location point where mouse clicked
public OnMouseDown ( System e ) : void
e System mouse event args
Результат void

OnMouseMove() публичный Метод

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
Результат void