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: 2022.0.13611
Syntax
[SerializableAttribute]
public abstract class HatchAttributes : GenericAttributesBase

The HatchAttributes type exposes the following members.

Properties
  NameDescription
Public propertyAngle
The angle in which to draw the hatch.
Public propertyBackgroundColor
The background color of the hatch.
Public propertyColor
The color of the hatch.
Public propertyDrawBackgroundColor
Sets whether the background color will be enabled or disabled for the hatch. See also: BackgroundColor.
Public propertyFactorType
The type of the hatch factor.
Public propertyName
The name of the hatch. If an empty string is given as hatch name it will become "None".
Public propertyScaleX
The scale value of the hatch in the X-direction.
Public propertyScaleY
The scale value of the hatch in the Y-direction.
Top
Methods
  NameDescription
Public methodIsEqual
Compares the current object with an object of the same type.
(Inherited from GenericAttributesBase.)
Top
See Also