ReflectionEffect

ReflectionEffect class

This class specifies a reflection effect.

Properties

NameTypeDescription
TypeintGets and sets the preset reflection effect. The value of the property is ReflectionEffectType integer constant.
TransparencyfloatGets and sets the degree of the starting reflection transparency as a value from 0.0 (opaque) through 1.0 (clear).
SizefloatGets and sets the end position (along the alpha gradient ramp) of the end alpha value,in unit of percentage
BlurfloatGets and sets the blur radius,in unit of points.
DirectionfloatGets and sets the direction of the alpha gradient ramp relative to the shape itself.
DistancefloatGets and sets how far to distance the shadow,in unit of points.
FadeDirectionfloatGets 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: 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