ReflectionEffect
ReflectionEffect class
This class specifies a reflection effect.
Properties
| Name | Type | Description |
|---|---|---|
| Type | int | Gets and sets the preset reflection effect. The value of the property is ReflectionEffectType integer constant. |
| Transparency | float | Gets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear). |
| Size | float | Gets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage |
| Blur | float | Gets and sets the blur radius,in unit of points. |
| Direction | float | Gets and sets the direction of the alpha gradient ramp relative to the shape itself. |
| Distance | float | Gets and sets how far to distance the shadow,in unit of points. |
| FadeDirection | float | Gets and sets the direction to offset the reflection. |
| RotWithShape | boolean | Gets and sets if the reflection should rotate with the shape. |
ReflectionEffect.Type property
Gets and sets the preset reflection effect. The value of the property is ReflectionEffectType integer constant.
Type: int
ReflectionEffect.Transparency property
Gets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
Type: float
ReflectionEffect.Size property
Gets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
Type: float
ReflectionEffect.Blur property
Gets and sets the blur radius,in unit of points.
Type: float
ReflectionEffect.Direction property
Gets and sets the direction of the alpha gradient ramp relative to the shape itself.
Type: float
ReflectionEffect.Distance property
Gets and sets how far to distance the shadow,in unit of points.
Type: float
ReflectionEffect.FadeDirection property
Gets and sets the direction to offset the reflection.
Type: float
ReflectionEffect.RotWithShape property
Gets and sets if the reflection should rotate with the shape.
Type: boolean