API:Vcl.Graphics.TCanvas.RequiredState
Delphi
procedure RequiredState(ReqState: TCanvasState); override;
C++
virtual void __fastcall RequiredState(TCanvasState ReqState);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCanvas |
Description
Changes the current state of the canvas to meet the given requirements.
Vcl.Graphics.TCanvas.RequiredState inherits from Vcl.Graphics.TCustomCanvas.RequiredState. All content below this line refers to Vcl.Graphics.TCustomCanvas.RequiredState.
Changes the current state of the canvas to meet the given requirements.
Override RequiredState in descending classes. RequiredState ensures that a canvas meets a set of given requirements. If the requirements are not met, the canvas initializes its internal structures so that the requirements are met after the call to RequiredState is completed.