ReflectionEffect Class

ReflectionEffect class

This class specifies a reflection effect.


type ReflectionEffect struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetTypeGets and sets the preset reflection effect.
SetTypeGets and sets the preset reflection effect.
GetTransparencyGets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
SetTransparencyGets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
GetSizeGets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
SetSizeGets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
GetBlurGets and sets the blur radius,in unit of points.
SetBlurGets and sets the blur radius,in unit of points.
GetDirectionGets and sets the direction of the alpha gradient ramp relative to the shape itself.
SetDirectionGets and sets the direction of the alpha gradient ramp relative to the shape itself.
GetDistanceGets and sets how far to distance the shadow,in unit of points.
SetDistanceGets and sets how far to distance the shadow,in unit of points.
GetFadeDirectionGets and sets the direction to offset the reflection.
SetFadeDirectionGets and sets the direction to offset the reflection.
GetRotWithShapeGets and sets if the reflection should rotate with the shape.
SetRotWithShapeGets and sets if the reflection should rotate with the shape.