ImageEn, unit iexLayers

TIETextLayer.FillColor2

TIETextLayer.FillColor2


Declaration


property FillColor2: TColor;


Description


The end color for the text box gradient.
If FillColor2 is clNone, the text box is filled by a solid color specified by FillColor. If FillColor2 is different from FillColor it is drawn as a gradient.
The direction of the gradient is specified by FillGradient.

Default: clNone


Example


// Disable the gradient fill
TIETextLayer( ImageEnView1.CurrentLayer ).FillColor2 := clNone;

// Add a red/blue horizontal gradient
TIETextLayer( ImageEnView1.CurrentLayer ).FillColor := clRed;
TIETextLayer( ImageEnView1.CurrentLayer ).FillColor2 := clBlue;
TIETextLayer( ImageEnView1.CurrentLayer ).FillGradient := grdHorizontal;
ImageEnView1.Update();


See Also


- TIELayer.FillColor2
- FillColor
- FillGradient
- FillOpacity
- HorzMargin
- VertMargin