Reflection class

Reflection class

Represents a Reflection effect.

The Reflection type exposes the following members:

Properties

PropertyDescription
start_pos_alphaSpecifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
Read/write float.
end_pos_alphaSpecifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
Read/write float.
fade_directionSpecifies the direction to offset the reflection. (angle).
Read/write float.
start_reflection_opacityStarting reflection opacity. (percents).
Read/write float.
end_reflection_opacityEnd reflection opacity. (percents).
Read/write float.
blur_radiusBlur radius.
Read/write float.
directionDirection of reflection.
Read/write float.
distanceDistance of reflection.
Read/write float.
rectangle_alignRectangle alignment.
Read/write RectangleAlignment.
skew_horizontalSpecifies the horizontal skew angle.
Read/write float.
skew_verticalSpecifies the vertical skew angle.
Read/write float.
rotate_shadow_with_shapeSpecifies whether the reflection should rotate with the shape if the shape is rotated.
Read/write bool.
scale_horizontalSpecifies the horizontal scaling factor, negative scaling causes a flip. (percents)
Read/write float.
scale_verticalSpecifies the vertical scaling factor, negative scaling causes a flip. (percents)
Read/write float.

Methods

MethodDescription
get_effectiveGets effective Reflection effect data with the inheritance applied.

See Also