Vcl.Graphics.TCanvas.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create;

C++

__fastcall TCanvas();

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCanvas

Description

Creates an instance of TCanvas.

Call Create to instantiate a TCanvas object at runtime. Create allocates memory for the instance of TCanvas and creates the TFont, TBrush and TPen objects for the Font, Brush, and Pen properties. Create also initializes the CopyMode to cmSrcCopy.

See Also

Code Examples