Vcl.Graphics.TBrushRecall

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TRecallSystem.TObjectTBrushRecall

Delphi

TBrushRecall = class(TRecall)

C++

class PASCALIMPLEMENTATION TBrushRecall : public System::Classes::TRecall

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TBrushRecall saves and restores a TBrush object.

Use TBrushRecall to store the current state of a TBrush object. You are then free to change the current state of the brush object. To restore the brush object to its original state, all that is necessary is to free the TBrushRecall object and the brush object is automatically restored to the saved property values.

You can update the TBrushRecall instance to reflect the current properties of the TBrush object by calling the Store method. You can prevent the TBrushRecall destructor from updating the TBrush object by calling the Forget method.

See Also