Graphics.TCustomCanvas
Contents |
Delphi Information
From Graphics.pas
TCustomCanvas = class(TPersistent)
Unit: Graphics
Type: class
Inherited Class Members: Graphics.TCustomCanvas Members
Class Properties: Graphics.TCustomCanvas Properties
Class Methods: Graphics.TCustomCanvas Methods
Class Events: Graphics.TCustomCanvas Events
C++ Information
From Graphics.hpp
TCustomCanvas = class(TPersistent)
Unit: Graphics
Type: class
Inherited Class Members: Graphics.TCustomCanvas Members
Class Properties: Graphics.TCustomCanvas Properties
Class Methods: Graphics.TCustomCanvas Methods
Class Constructors & Destructors: Graphics.TCustomCanvas Constructors
Class Events: Graphics.TCustomCanvas Events
Description
Defines an abstract base class for other canvas objects.
Use TCustomCanvas as a base class for other canvas objects. TCustomCanvas introduces a number of abstract methods that must be implemented in descendant classes to provide full support for drawing on a graphical surface.
The most important functionalities exposed by TCustomCanvas are:
- Drawing and filling a variety of shapes and lines.
- Writing text
- Rendering graphic images.
- Enabling a response to changes in the current image.
TCustomCanvas has two descendants, both abstracting drawing operations using a certain operating system-defined API. TCanvas uses the Windows GDI backend for drawing, while TDirect2DCanvas uses the DirectX DirectDraw API for drawing.