ReflectionEffect
Contents
[
Hide
]ReflectionEffect class
This class specifies a reflection effect.
class ReflectionEffect;
Properties
Property | Type | Description |
---|---|---|
type | ReflectionEffectType | Gets and sets the preset reflection effect. |
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. |
type
Gets and sets the preset reflection effect.
type : ReflectionEffectType;
transparency
Gets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
transparency : number;
size
Gets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
size : number;
blur
Gets and sets the blur radius,in unit of points.
blur : number;
direction
Gets and sets the direction of the alpha gradient ramp relative to the shape itself.
direction : number;
distance
Gets and sets how far to distance the shadow,in unit of points.
distance : number;
fadeDirection
Gets and sets the direction to offset the reflection.
fadeDirection : number;
rotWithShape
Gets and sets if the reflection should rotate with the shape.
rotWithShape : boolean;