Vcl.Controls.TControlCanvas

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TCanvasVcl.Graphics.TCustomCanvasSystem.Classes.TPersistentSystem.TObjectTControlCanvas

Delphi

TControlCanvas = class(TCanvas)

C++

class PASCALIMPLEMENTATION TControlCanvas : public Vcl::Graphics::TCanvas

Properties

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

Description

TControlCanvas is a specialized canvas object associated with a control.

TControlCanvas provides a graphics context for controls that render their own images.

Not all controls need a canvas. Many controls rely on underlying Windows screen objects to provide rendering logic.

TControlCanvas is descended from TCanvas, which provides many properties, events, and methods to aid in the creation of rich images. TControlCanvas adds properties and methods to interact with a control object, and to manage the device context associated with the control.

See Also