C# Class Revit.SDK.Samples.CurtainWallGrid.CS.DrawObject

the class is designed to help draw the hints and the assistant lines of the curtain grid
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

clear all the to-be-drawn lines

Draw ( Graphics graphics ) : void

draw the assistant lines and hint text

DrawObject ( ) : System

default constructor

DrawObject ( Line2D line, Pen pen ) : System

constructor

Method Details

Clear() public method

clear all the to-be-drawn lines
public Clear ( ) : void
return void

Draw() public method

draw the assistant lines and hint text
public Draw ( Graphics graphics ) : void
graphics System.Drawing.Graphics /// the graphics used to draw the lines ///
return void

DrawObject() public method

default constructor
public DrawObject ( ) : System
return System

DrawObject() public method

constructor
public DrawObject ( Line2D line, Pen pen ) : System
line Line2D /// the line to be drawn ///
pen System.Drawing.Pen /// the pen used to draw the line ///
return System