Show: Delphi
C++
Display Preferences
FMX.Types.TBitmap.Canvas
From XE3 API Documentation
Delphi
property Canvas: TCanvas read GetCanvas;
C++
__property TCanvas* Canvas = {read=GetCanvas};
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | 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.