ReflectionEffect

ReflectionEffect class

This class specifies a reflection effect.

Properties

NameTypeDescription
TypeNumberGets and sets the preset reflection effect. The value of the property is ReflectionEffectType integer constant.
TransparencyNumberGets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
SizeNumberGets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
BlurNumberGets and sets the blur radius,in unit of points.
DirectionNumberGets and sets the direction of the alpha gradient ramp relative to the shape itself.
DistanceNumberGets and sets how far to distance the shadow,in unit of points.
FadeDirectionNumberGets and sets the direction to offset the reflection.
RotWithShapebooleanGets 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