C# Class Revit.SDK.Samples.FoundationSlab.CS.Sketch

An internal class for drawing slabs' profiles. This class is intended to contain only static methods.
ファイルを表示 Open project: AMEE/revit

Public Methods

Method Description
DrawProfile ( Graphics graphic, RectangleF rclip, Collection baseSlabList ) : void

Draw profiles.

Private Methods

Method Description
DrawLine ( Pen pen, Graphics graphic, CurveArray curveArray ) : void

Draw Lines.

GetMaxBBox ( Collection baseSlabList ) : RectangleF

Get the max bounding box of all floors.

GetTransformMatrix ( RectangleF rclip, RectangleF rBox ) : Matrix

Get transform matrix.

Sketch ( ) : System

Method Details

DrawProfile() public static method

Draw profiles.
public static DrawProfile ( Graphics graphic, RectangleF rclip, Collection baseSlabList ) : void
graphic System.Drawing.Graphics The object of Graphics to draw profiles.
rclip System.Drawing.RectangleF The rectangle area to draw profiles.
baseSlabList Collection A set of base floors' datas containing profiles.
return void