Skip to main content

TdxGPBrush Class

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

Declaration

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