Table of Contents

TReflectionEffect.Create Constructor

Creates a new Reflection effect.

Syntax

Unit: FlexCel.Core

constructor TReflectionEffect.Create(const aBlurRadius: Int64; const aStartAlpha: Double; const aStartPos: Double; const aEndAlpha: Double; const aEndPos: Double; const aDistance: Int64; const aDirection: Double; const aFadeDirection: Double; const aHorizontalScalingFactor: Double; const aVerticalScalingFactor: Double; const aHorizontalSkew: Double; const aVerticalSkew: Double; const aShadowAlignment: TDrawingRectAlign; const aRotateWithShape: Boolean);

Parameters

<-> Parameter Type Description
const aBlurRadius Int64 Blur radius.
const aStartAlpha Double Starting Alpha.
const aStartPos Double Starting position for Alpha.
const aEndAlpha Double Ending Alpha.
const aEndPos Double Ending position for Alpha.
const aDistance Int64 Distance of the shadow.
const aDirection Double Rotation of the shadow.
const aFadeDirection Double Fade direction.
const aHorizontalScalingFactor Double Horizontal scaling factor. Negative scaling causes a flip.
const aVerticalScalingFactor Double Vertical scaling factor. Negative scaling causes a flip.
const aHorizontalSkew Double Horizontal skew angle.
const aVerticalSkew Double Vertical skew angle.
const aShadowAlignment TDrawingRectAlign Shadow Alignment.
const aRotateWithShape Boolean If true, the effect rotates with the shape.

See also