GradientStyle property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Cardinal GradientStyle

Delphi Syntax

GradientStyle: Cardinal

Overview

Refer to Gradients and Patterns.

Remarks

(Persistent property, available at design time) Specifies the style of 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.

For possible values of the GradientStyle property, refer to Gradients.

See Also

Topics:

Raster Images: Implementing Special Effects

 

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage