Vcl.Graphics.TBrushRecall.Create
Delphi
constructor Create(ABrush: TBrush);
C++
__fastcall TBrushRecall(TBrush* ABrush);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBrushRecall |
Description
Instantiates a TBrushRecall object.
Call Create to instantiate a brush recall object at runtime. Create saves the current properties of the TBrush object specified by ABrush, which becomes the value of the Reference property.
Subsequent calls to the Store method take snapshots of the properties of ABrush and save them, replacing the values saved by this constructor. When you destroy the TBrushRecall instance, the most recently saved properties are assigned to ABrush, restoring it to a previous state.