TiGradient.Direction

TiGradient See Also

Specifies the gradient fill direction.

type TiFillDirection = (ifdTopBottom, ifdBottomTop, ifdLeftRight, ifdRightLeft, ifdTopLeftBottomRight, ifdBottomRightTopLeft, ifdBottomLeftTopRight, ifdTopRightBottomLeft, ifdRectangleOut, ifdRectangleIn, ifdCircleOut, ifdCircleIn);

property Direction : TiFillDirection;

Description

Set Direction to specify the gradient fill direction.

These are the possible values:

Value
Meaning
ifdTopBottom
Fill Starting at the Top and Stopping at the Bottom.
ifdBottomTop
Fill Starting at the Bottom and Stopping at the Top.
ifdLeftRight
Fill Starting at the Left and Stopping at the Right.
ifdRightLeft
Fill Starting at the Right and Stopping at the Left.
ifdTopLeftBottomRight
Fill Starting at the Top-Left and Stopping at the Bottom-Right.
ifdBottomRightTopLeft
Fill Starting at the Bottom-Right and Stopping at the Top-Left.
ifdBottomLeftTopRight
Fill Starting at the Bottom-Left and Stopping at the Top-Right.
ifdTopRightBottomLeft
Fill Starting at the Top-Right and Stopping at the Bottom-Left.
ifdRectangleOut
Fill a Rectangle Starting at the Center and Stopping at the Outer Edges.
ifdRectangleIn
Fill a rectangle Starting at the Outer Edges and Stopping at the Center.
ifdCircleOut
Fill a Circle Starting at the Center and Stopping at the Outer Edges.
ifdCircleIn
Fill a Circle Starting at the Outer Edges and Stopping at the Center.

Example

Delphi

iComponent.Direction := ifdTopBottom;

C++ Builder

iComponent->Direction = ifdTopBottom;

Contents | Index | Previous | Next