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.

HatchAttributes Class

The HatchAttributes base class, inherited by ModelObjectHatchAttributes and GraphicObjectHatchAttributes, contains hatch attributes.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2021.0.0
public abstract class HatchAttributes : GenericAttributesBase

The HatchAttributes type exposes the following members.

  Name Description
Public property Angle
The angle in which to draw the hatch.
Public property BackgroundColor
The background color of the hatch.
Public property Color
The color of the hatch.
Public property DrawBackgroundColor
Sets whether the background color will be enabled or disabled for the hatch. See also: BackgroundColor.
Public property FactorType
The type of the hatch factor.
Public property Name
The name of the hatch. If an empty string is given as hatch name it will become "None".
Public property ScaleX
The scale value of the hatch in the X-direction.
Public property ScaleY
The scale value of the hatch in the Y-direction.
  Name Description
Public method IsEqual
Compares the current object with an object of the same type.
(Inherited from GenericAttributesBase.)
See Also