API:Vcl.Graphics.TMetafileCanvas

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TCanvasVcl.Graphics.TCustomCanvasSystem.Classes.TPersistentSystem.TObjectTMetafileCanvas

Delphi

TMetafileCanvas = class(TCanvas)

C++

class PASCALIMPLEMENTATION TMetafileCanvas : public TCanvas

Properties

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

Description

TCanvas provides an abstract drawing space for objects that must render their own images.

Vcl.Graphics.TMetafileCanvas inherits from Vcl.Graphics.TCanvas. All content below this line refers to Vcl.Graphics.TCanvas.

TCanvas provides an abstract drawing space for objects that must render their own images.

Use TCanvas as a drawing surface for objects that draw an image of themselves. Standard window controls such as edit controls or list boxes do not require a canvas, as they are drawn by the system.

TCanvas provides properties, events, and methods that assist in creating an image by:

  • Specifying the type of brush, pen, and font to use.
  • Drawing and filling a variety of shapes and lines.
  • Writing text.
  • Rendering graphic images.
  • Enabling a response to changes in the current image.

TCanvas has two descendants, TControlCanvas and TMetafileCanvas, which assist in drawing images of controls and in creating metafile images for objects.

See Also