Direct2D.TDirect2DCanvas
From RAD Studio VCL Reference
Delphi Information
From Direct2D.pas
TDirect2DCanvas = class(TCustomCanvas)
Unit: Direct2D
Type: class
Inherited Class Members: Direct2D.TDirect2DCanvas Members
Class Properties: Direct2D.TDirect2DCanvas Properties
Class Methods: Direct2D.TDirect2DCanvas Methods
Class Constructors & Destructors: Direct2D.TDirect2DCanvas Constructors
Description
TDirect2DCanvas provides an abstract drawing space for objects that must render their own images.
Use TDirect2DCanvas as a drawing surface for objects that draw an image of themselves. TDirect2DCanvas uses the Windows DirectX technology for rendering.
TDirect2DCanvas 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.