Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGPBrush Class

An advanced brush used to paint on a drawing surface (also called a canvas).

#Declaration

Delphi
TdxGPBrush = class(
    TdxGPCustomBrush
)

#Remarks

This class implements the advanced brush with transparency, texture, and gradient fill support. A TdxGPBrush object can be used to paint various surfaces composing complex shapes:

The brush layout area always matches the bounding rectangle of the painted shape (or surface). When a surface is painted, the actual shape of the displayed element is applied to the brush layout as a mask (i.e., limits the visible portion of the brush layout):

The TdxGPBrush class extends its ancestor class with the following members, allowing you to:

A TdxGPBrush object is referenced by:

See Also