FillingProperties
Canonical path: NemAll_Python_BasisElements.FillingProperties
Properties of the filling
Methods:
-
__eq__
–equal operator
-
__init__
–Overloaded function. See individual overloads.
-
__repr__
–Convert to string
Attributes:
-
DirectionToReferenceLine
(int
) –The edge index of the outline polyline to align the filling to. Relevant, when the property UseDirectionToReferenceLine is set to true.
-
FirstColor
(ARGB
) –First color
-
RotationAngle
(Angle
) –Rotation angle. Relevant, when UseGradientFilling is set to True.
-
SecondColor
(ARGB
) –Second color. Relevant, when UseGradientFilling is set to True.
-
ShadingType
(Style
) –Shading style. Relevant, when the UseGradientFilling is set to True.
-
TranslationType
(ColorMode
) –Color gradients type. Relevant, when UseGradientFilling is set to True.
-
UseDirectionToReferenceLine
(bool
) –Whether to align the direction of the filling to a certain edge of the outline polyline. When set to True, the index of the edge is to be specified in DirectionToReferenceLine.
-
UseGradientFilling
(bool
) –Whether to use gradient filling.
-
VariantType
(Variant
) –Gradient variant type. Relevant, when UseGradientFilling is set to True.
DirectionToReferenceLine
property
writable
The edge index of the outline polyline to align the filling to. Relevant, when the property UseDirectionToReferenceLine is set to true.
RotationAngle
property
writable
RotationAngle: Angle
Rotation angle. Relevant, when UseGradientFilling is set to True.
SecondColor
property
writable
SecondColor: ARGB
Second color. Relevant, when UseGradientFilling is set to True.
ShadingType
property
writable
Shading style. Relevant, when the UseGradientFilling is set to True.
TranslationType
property
writable
Color gradients type. Relevant, when UseGradientFilling is set to True.
UseDirectionToReferenceLine
property
writable
Whether to align the direction of the filling to a certain edge of the outline polyline. When set to True, the index of the edge is to be specified in DirectionToReferenceLine.
VariantType
property
writable
Gradient variant type. Relevant, when UseGradientFilling is set to True.
__eq__
__eq__(prop: FillingProperties) -> bool
equal operator
Parameters:
-
prop
(FillingProperties
) –GradientFillingProperties to compare
Returns:
-
bool
–true if they are equal, false otherwise