Vcl.Direct2D.TDirect2DCanvas

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TCustomCanvasSystem.Classes.TPersistentSystem.TObjectTDirect2DCanvas

Delphi

TDirect2DCanvas = class(TCustomCanvas)

C++

class PASCALIMPLEMENTATION TDirect2DCanvas : public Vcl::Graphics::TCustomCanvas

Properties

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

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.

See Also