ObjectClipToFrame Property

SetBrushPattern Method

Introduction

 

ObjectBrush Method images/cons0001.png


 

Sets the brush color for the next object created.

 

Syntax

FlpGrf.ObjectBrush( FgColor As Integer, BgColor As Integer, Style As Integer, Mode As Integer )

 

The ObjectBrush Method has these parts:

Part

Description

FlpGrf

An object expression that evaluates the Flipper Graph ASP object.

FgColor

Foreground color of the brush, an index from the color table.

BgColor

Color of the blank spaces in the pattern style, an index form the color table.

Style

Brush pattern.

flpTransparentBrush

0

Transparent brush

flpSolidBrush

1

Solid brush

flpDiagonalUp

2

Upward Diagonal brush

flpHatchDiagonal

3

Diagonal Hatch brush

flpDiagonalDown

4

Downward Diagonal brush

flpHorizontalBrush

5

Horizontal line brush

flpVerticalBrush

6

Vertical line brush

flpHatchCross

7

Cross Hatch brush

Mode

How spaces in the pattern will be shown.

flpTransparentMode

1

Transparent brush mode

flpOpaqueMode

2

Opaque brush mode

 

Remarks

Sets the brush attributes for the next object created with ObjectRectAdd, ObjectPictAdd, or ObjectTextAdd. The brush affects the fill appearance of the object, while the pen affects the outline of the object.


 

See Also

ObjectScaleType Method, ObjectBrush Method, ObjectFont Method, ObjectPen Method



ObjectClipToFrame Property SetBrushPattern Method

 

 

Last modified on: Friday, August 16, 2002