ImageEn, unit ieview

TIEView.GradientEndColor

TIEView.GradientEndColor


Declaration

property GradientEndColor: TColor;


Description

Specifies the ending color of the gradient when BackgroundStyle is iebsGradient.
The gradient start color is set using Background/Background.
The direction of the gradient is specified by GradientDir.

Note: This value may be overridden by VCL theming colors. Set EnableTheming to false to prevent this.

Default: clBtnShadow


Examples

ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgHorizontal;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgVertical;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgHorzCenter;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgVertCenter;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgDiagonal;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgDiagonal2;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgDiagCenter;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgDiagCenter2;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgLeft;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgRight;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgTop;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgBottom;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgTopLeft;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgTopRight;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgBottomLeft;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




ImageEnView1.BackgroundStyle := iebsGradient;
ImageEnView1.GradientDir := gpgBottomRight;
ImageEnView1.Background := $00FF80FF; // Pink
ImageEnView1.GradientEndColor := $00FF8000; // Blue




See Also

- Background
- BackgroundStyle
- BackgroundColor2