HatchingProperties
Canonical path: NemAll_Python_BasisElements.HatchingProperties
Properties of the hatching
BackgroundColor
property
writable
BackgroundColor: ARGB
Background color. Relevant, when UseBackgroundColor is set to True.
DirectionToReferenceLine
property
writable
The edge index of the outline polyline to align the hatching to.
ExistAlignment
property
writable
Whether to align the hatching to a certain edge of the outline polyline. When set to True, the index of the edge is to be specified in DirectionToReferenceLine.
IsScaleDependent
property
writable
Whether the hatch is to be scaled according to drawing file scale
ReferencePoint
property
writable
ReferencePoint: Point2D
the point of origin, when property UseReferencePoint is set to True
UseReferencePoint
property
writable
Whether to use a specific point as the origin of the hatching.
When set to False, the origin is (0,0). When set to True, the point is to be specified in the property ReferencePoint.
SetBackgroundColorBGR
Set the background color
Parameters:
-
value
(int
) –Color value as BGR
SetBackgroundColorIRGB
Set the background color
Parameters:
-
value
(int
) –Color value as IRGB
__eq__
__eq__(prop: HatchingProperties) -> bool
equal operator
Parameters:
-
prop
(HatchingProperties
) –HatchingProperties to compare
Returns:
-
bool
–true if they are equal, false otherwise