TTMSFNCGraphicsContextGeneral.Canvas Property
The native framework canvas this context currently draws on.
API unit family: TMSFNCGraphics.General
Declaring type: TTMSFNCGraphicsContextGeneral
Type: TCanvas
Syntax
property Canvas: TCanvas;
__property TCanvas* Canvas;
Remarks
Returns the canvas of the owning graphics object, or nil when none is assigned. While an opacity layer is active it returns that layer's canvas, and where drawing is scene-based it first makes this context's scene the active one, so drawing directly on the returned canvas lands in the right place.