Skip to content

API reference / Common / Engine types / PaintReflectionEffect

Interface: PaintReflectionEffect ​

a:reflection (CT_ReflectionEffect) — a fading mirror image below the shape.

Properties ​

PropertyDescription
blurRadius
number
@blurRad — blur radius in points.
startAlpha
number
@stA — start alpha as a fraction.
endAlpha
number
@endA — end alpha as a fraction.
startPosition
number
@stPos — start position along the fade as a fraction.
endPosition
number
@endPos — end position along the fade as a fraction.
distance
number
@dist — offset distance in points.
direction
number
@dir — offset direction in degrees.
fadeDirection
number
@fadeDir — direction of the alpha fade in degrees.
scaleX
number
@sx — horizontal scale as a fraction.
scaleY
number
@sy — vertical scale as a fraction.
skewX
number
@kx — horizontal skew in degrees.
skewY
number
@ky — vertical skew in degrees.
alignment
PaintRectAlign
@algn — the reflection's anchor.
rotateWithShape
boolean
@rotWithShape.