PatternStyle property (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

PatternStyleConstants PatternStyle

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Works with related ILEADRasterFDX 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.

Possible values are:

Value

Meaning

FXD_PATTERN_SOLID

[0] Solid filling

FXD_PATTERN_TRANSPARENT

[1] Transparent filling (not valid for transitions)

FXD_PATTERN_HORZ_LINE

[2] Horizontal lines (==)

FXD_PATTERN_VERT_LINE

[3] Vertical lines (||)

FXD_PATTERN_DOWNWARD_DIAG

[4] Downward diagonal lines (//)

FXD_PATTERN_UPWARD_DIAG

[5] Upward diagonal lines (\\)

FXD_PATTERN_CROSS

[6] Cross line (++)

FXD_PATTERN_DIAG_CROSS

[7] Diagonal cross lines (XX)

See Also

Topics:

Drawing Effects:3D Drawing Special Effects