Vcl.Graphics.TCustomCanvas.Refresh

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Refresh; virtual; abstract;

C++

virtual void __fastcall Refresh() = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCustomCanvas

Description

Resets the internal state of the canvas to a default state.

Override the Refresh method to implement resetting the state of a canvas. The operations performed by Refresh depend on the actual canvas implementation. In most implementations though, Refresh destroys the graphical objects, such as pen, brush, or font, that were associated with the canvas.

See Also