Frame Class |
The Frame class defines a frame that can be given to objects, including texts.
A frame is a box around the object. You can specify the color and shape of the box.
SystemObject
Tekla.Structures.DrawingFrame
Tekla.Structures.DrawingFrame
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The Frame type exposes the following members.
| Name | Description | |
|---|---|---|
| Frame(FrameTypes, DrawingColors) |
Creates a new frame instance with the specified frame type and color.
| |
| Frame(FrameTypes, TeklaDrawingColor) |
Creates a new frame instance with the specified frame type and RGB color.
|
| Name | Description | |
|---|---|---|
| Color |
The frame's color.
| |
| TrueColor |
The true color (RGB enabled) of the frame.
| |
| Type |
The frame's type (square, round, dashed...).
|
| Name | Description | |
|---|---|---|
| Clone |
Clones the object.
| |
| GetAxisAlignedBoundingBox |
Returns the bounding box of the frame in the global axis coordinate system.
| |
| GetObjectAlignedBoundingBox |
Returns the bounding box of the frame in the local coordinate system.
| |
| IsEqual |
Compares the current object with an object of the same type.
|