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

tool used to draw line
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
Draw2D ( Graphics graphics, Pen pen ) : void

draw the stored lines

DrawRectangle ( Graphics graphics, Pen pen ) : void

draw rectangle with specific graphics and pen

LineTool ( ) : System

default constructor

Method Details

Draw2D() public method

draw the stored lines
public Draw2D ( Graphics graphics, Pen pen ) : void
graphics System.Drawing.Graphics Graphics object, used to draw geometry
pen System.Drawing.Pen Pen which used to draw lines
return void

DrawRectangle() public method

draw rectangle with specific graphics and pen
public DrawRectangle ( Graphics graphics, Pen pen ) : void
graphics System.Drawing.Graphics Graphics object, used to draw geometry
pen System.Drawing.Pen Pen which used to draw lines
return void

LineTool() public method

default constructor
public LineTool ( ) : System
return System