C# Class Revit.SDK.Samples.CreateBeamSystem.CS.LineSketch

sketch line and any tag on it
Inheritance: ObjectSketch
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
Draw ( Graphics g, Matrix translate ) : void

draw the line

LineSketch ( Line2D line ) : System

constructor

Private Methods

Method Description
DrawDirectionTag ( GraphicsPath path ) : void

draw 2 shorter parallel lines on each side of the line

Method Details

Draw() public method

draw the line
public Draw ( Graphics g, Matrix translate ) : void
g System.Drawing.Graphics drawing object
translate Matrix translation between drawn sketch and geometry object
return void

LineSketch() public method

constructor
public LineSketch ( Line2D line ) : System
line Line2D
return System