FaceStyleProperties
Canonical path: NemAll_Python_BasisElements.FaceStyleProperties
Properties of the style area
Methods:
-
__eq__–equal operator
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
DirectionToReferenceLine(int) –Index of the edge of the outline polyline, to align the style area to, when the property UseDirectionToReferenceLine is set to True.
-
ExistAlignment(bool) –Get the alignment state
-
FaceStyleID(int) –ID of style area
-
IsScaleDependent(bool) –Get the scale dependent state
-
PatternPlacementType(ePlacementType) –Get the placement type
-
PatternXScalingFactor(int) –Get the scaling factor in x direction
-
PatternYScalingFactor(int) –Get the scaling factor in y direction
-
ReferencePoint(Point2D) –the point of origin, when property UseReferencePoint is set to True
-
RotationAngle(Angle) –Rotation angle
-
Transparency(int) –Get the transparency
-
UseDirectionToReferenceLine(bool) –Whether to align the direction of the style area to a certain edge.
-
UseReferencePoint(bool) –Whether to use a specific point as the origin of the style area.
DirectionToReferenceLine
property
writable
Index of the edge of the outline polyline, to align the style area to, when the property UseDirectionToReferenceLine is set to True.
PatternXScalingFactor
property
writable
Get the scaling factor in x direction
PatternYScalingFactor
property
writable
Get the scaling factor in y direction
ReferencePoint
property
writable
ReferencePoint: Point2D
the point of origin, when property UseReferencePoint is set to True
UseDirectionToReferenceLine
property
writable
Whether to align the direction of the style area to a certain edge.
When set to true, the index of the edge is to be specified in the property DirectionToReferenceLine.
UseReferencePoint
property
writable
Whether to use a specific point as the origin of the style area.
When set to False, the origin is (0,0). When set to True, the point is to be specified in the property ReferencePoint.
__eq__
__eq__(prop: FaceStyleProperties) -> bool
equal operator
Parameters:
-
prop(FaceStyleProperties) –FaceStyleProperties to compare
Returns:
-
bool–true if they are equal, false otherwise