ReflectionEffect Class
Contents
[
Hide
]ReflectionEffect class
This class specifies a reflection effect.
type ReflectionEffect struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetType | Gets and sets the preset reflection effect. |
SetType | Gets and sets the preset reflection effect. |
GetTransparency | Gets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear). |
SetTransparency | Gets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear). |
GetSize | Gets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage |
SetSize | Gets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage |
GetBlur | Gets and sets the blur radius,in unit of points. |
SetBlur | Gets and sets the blur radius,in unit of points. |
GetDirection | Gets and sets the direction of the alpha gradient ramp relative to the shape itself. |
SetDirection | Gets and sets the direction of the alpha gradient ramp relative to the shape itself. |
GetDistance | Gets and sets how far to distance the shadow,in unit of points. |
SetDistance | Gets and sets how far to distance the shadow,in unit of points. |
GetFadeDirection | Gets and sets the direction to offset the reflection. |
SetFadeDirection | Gets and sets the direction to offset the reflection. |
GetRotWithShape | Gets and sets if the reflection should rotate with the shape. |
SetRotWithShape | Gets and sets if the reflection should rotate with the shape. |