PatternForeColor property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Graphics::TColor PatternForeColor

Delphi Syntax

PatternForeColor : TColor

Overview

Refer to Gradients and Patterns.

Remarks

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

Related properties work together as follows:

image\sqrblit.gif PatternStyle specifies the style, which can be solid, transparent (for three-dimensional shapes only), or any of several line patterns.

image\sqrblit.gif PatternBackColor specifies the background color of the pattern.

image\sqrblit.gif PatternForeColor property specifies the foreground color of the pattern.

See Also

Topics:

Raster Images: Implementing Special Effects

 

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage