Skip to main content

TdxGPBrushStyle Enum

Enumerates the available brush painting modes.

Declaration

TdxGPBrushStyle = (
    gpbsSolid,
    gpbsGradient,
    gpbsTexture,
    gpbsClear
);

Members

Name
gpbsSolid
gpbsGradient
gpbsTexture
gpbsClear

Remarks

Use the values of this type to set the required brush painting mode by using the Style property implemented in the TdxGPBrush class. The table below lists the available brush painting modes, including the respective brush appearance examples:

Value

Description

Brush Example

Masked Brush Examples

gpbsSolid

The brush solid fill mode. The brush paints a surface with a solid color specified by the Color property implemented in the TdxGPBrush class.

The brush’s GradientMode, GradientPoints, and Texture property values are ignored in this painting mode.

gpbsGradient

The brush gradient fill mode. The brush paints a surface with a linear color gradient, whose direction and key points are specified by the GradientMode and GradientPoints properties, implemented in the TdxGPBrush class.

The brush’s Color and Texture property values are ignored in this painting mode.

gpbsTexture

The brush texture fill mode. The brush fills a surface with a bitmap image specified by the Texture property implemented in the TdxGPBrush class.

The brush’s Color, GradientMode, and GradientPoints properties are ignored in this painting mode.

gpbsClear

The blank brush mode. The brush leaves the painted surface effectively blank, i.e., completely transparent.

The brush’s Color, GradientMode, GradientPoints, and Texture property values are ignored in this painting mode.

See Also