Vcl.Graphics.TPenRecall
Delphi
TPenRecall = class(TRecall)
C++
class PASCALIMPLEMENTATION TPenRecall : public System::Classes::TRecall
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
TPenRecall saves and restores the properties of a TPen object.
Use TPenRecall to store the current state of a TPen object. You are then free to change the current state of the pen object. To restore the pen object to its original state, all that is necessary is to destroy the TPenRecall object and the pen object is automatically restored to the saved property values.
You can update the TPenRecall instance to reflect the current properties of the TPen object by calling the Store method. You can prevent the TPenRecall destructor from updating the TPen object by calling the Forget method.