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