FMX.Graphics.TBitmap.Canvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Canvas: TCanvas read GetCanvas;

C++

__property TCanvas* Canvas = {read=GetCanvas};

Properties

Type Visibility Source Unit Parent
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBitmap

Description

Provides access to a drawing surface that represents the current TBitmap.

Canvas allows drawing on the bitmap by providing a TCanvas object for this purpose. Drawing on the canvas effectively modifies the underlying bitmap image pixels. Any canvas operation is valid on a bitmap, including drawing lines, rectangles, and circles.

A TCanvas object is created automatically for the TBitmap. Canvas is a read-only property.

See Also

Code Examples