Skip to content

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

DirectionToReferenceLine: int

The edge index of the outline polyline to align the filling to. Relevant, when the property UseDirectionToReferenceLine is set to true.

FirstColor property writable

FirstColor: ARGB

First color

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

ShadingType: Style

Shading style. Relevant, when the UseGradientFilling is set to True.

TranslationType property writable

TranslationType: ColorMode

Color gradients type. Relevant, when UseGradientFilling is set to True.

UseDirectionToReferenceLine property writable

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 property writable

UseGradientFilling: bool

Whether to use gradient filling.

VariantType property writable

VariantType: Variant

Gradient variant type. Relevant, when UseGradientFilling is set to True.

__eq__

__eq__(prop: FillingProperties) -> bool

equal operator

Parameters:

Returns:

  • bool

    true if they are equal, false otherwise

__init__ overloaded

__init__()

Initialize

__init__(element: FillingProperties)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder