PatternStyle property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TPatternStyle PatternStyle

Delphi Syntax

PatternStyle : TPatternStyle

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 propertyspecifies the foreground color of the pattern.

For a list of possible values, refer to PatternStyles.

See Also

Topics:

Raster Images: Implementing Special Effects

 

Raster Images: Drawing on a Bitmap

 

Working with the Control: Client Area Usage