API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Rectangle Constructor

Overload List
  NameDescription
Public methodRectangle(ViewBase, Point, Point)
Creates a new rectangle instance with two points using standard attributes. Please note that creating a rectangle using two points will re-calculate the start point to correspond with positive widths and heights.
Public methodRectangle(ViewBase, Point, Double, Double)
Creates a new rectangle instance with the start point and the defined width and height using standard attributes.
Public methodRectangle(ViewBase, Point, Point, RectangleRectangleAttributes)
Creates a new rectangle instance with two points using the given attributes. Please note that creating a rectangle using two points will re-calculate the start point to correspond with positive widths and heights.
Public methodRectangle(ViewBase, Point, Double, Double, RectangleRectangleAttributes)
Creates a new rectangle instance with the start point and the defined width and height using the given attributes.
Top
See Also