C# Класс Revit.SDK.Samples.CreateBeamSystem.CS.BeamSystemSketch

Sketch the profile of beam system on canvas Code here have nothing with Revit API
Наследование: ObjectSketch
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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