GradientStartColor property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Graphics::TColor GradientStartColor

Delphi Syntax

GradientStartColor: TColor

Overview

Refer to Gradients and Patterns.

Remarks

(Persistent property, available at design time) Works with related properties to specify a gradient color for use when you implement a transitional paint effect or when you draw a three-dimensional shape or text object.

A gradient color starts as one color and ends as another, with the specified number of transitional colors from start to end. Related properties work together as follows:

image\sqrblit.gif GradientStyle specifies the style.

image\sqrblit.gif GradientStartColor specifies the starting color.

image\sqrblit.gif GradientEndColor specifies the ending color.

image\sqrblit.gif GradientSteps specifies the number of colors from start to end.

See Also

Topics:

Raster Images: Implementing Special Effects

 

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage