C# 클래스 Revit.SDK.Samples.CreateBeamSystem.CS.BeamSystemSketch

Sketch the profile of beam system on canvas Code here have nothing with Revit API
상속: ObjectSketch
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
BeamSystemSketch ( System canvas ) : System

constructor

Draw ( Graphics g, Matrix translate ) : void

draw beam system

DrawProfile ( IList profile ) : void

draw the profile in the canvas

보호된 메소드들

메소드 설명
Paint ( Object sender, PaintEventArgs e ) : void

draw beam system on canvas control

비공개 메소드들

메소드 설명
CalculateCanvasRegion ( ) : System.Drawing.PointF[]

get the display region, adjust the proportion and location

CalculateTransform ( ) : void

calculate the transform between canvas and geometry objects

GetLine2D ( Line line ) : Line2D

generate a Line2D instance using a Line's data

Initialize ( IList profile ) : void

initialize geometry objects and bounding box

메소드 상세

BeamSystemSketch() 공개 메소드

constructor
public BeamSystemSketch ( System canvas ) : System
canvas System the control to draw beam system
리턴 System

Draw() 공개 메소드

draw beam system
public Draw ( Graphics g, Matrix translate ) : void
g System.Drawing.Graphics encapsulates a GDI+ drawing surface
translate Matrix translation matrix to canvas coordinates
리턴 void

DrawProfile() 공개 메소드

draw the profile in the canvas
public DrawProfile ( IList profile ) : void
profile IList the profile of the beam system
리턴 void

Paint() 보호된 메소드

draw beam system on canvas control
protected Paint ( Object sender, PaintEventArgs e ) : void
sender Object canvas control
e PaintEventArgs data for the Paint event
리턴 void