Vcl.Direct2D.TDirect2DCanvas.Brush

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Brush: TDirect2DBrush read GetBrush write SetBrush;

C++

__property TDirect2DBrush* Brush = {read=GetBrush, write=SetBrush};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Determines the color and pattern for filling graphical shapes and backgrounds.

Set the Brush property to specify the color and pattern to use when drawing the background or filling in graphical shapes. The value of Brush is a TDirect2DBrush object. Set the properties of the TDirect2DBrush object to specify the color and pattern or bitmap to use when filling in spaces on the canvas.

Setting the Brush property assigns the specified TDirect2DBrush object, instead of replacing the current TDirect2DBrush object.

See Also