
## ReflectionEffect class

This class specifies a reflection effect.

## Properties

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

### ReflectionEffect.Type property {#type}

Gets and sets the preset reflection effect. The value of the property is ReflectionEffectType integer constant.

**Type:** Number

### ReflectionEffect.Transparency property {#transparency}

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 {#size}

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 {#blur}

Gets and sets the blur radius,in unit of points.

**Type:** Number

### ReflectionEffect.Direction property {#direction}

Gets and sets the direction of the alpha gradient ramp relative to the shape itself.

**Type:** Number

### ReflectionEffect.Distance property {#distance}

Gets and sets how far to distance the shadow,in unit of points.

**Type:** Number

### ReflectionEffect.FadeDirection property {#fadedirection}

Gets and sets the direction to offset the reflection.

**Type:** Number

### ReflectionEffect.RotWithShape property {#rotwithshape}

Gets and sets if the reflection should rotate with the shape.

**Type:** boolean
