Table of Contents

TTMSFNCBloxControl.CreateCanvas Method

Creates the drawing canvas used by the renderer for the supplied graphics context.

API unit family: TMSFNCBloxControl Declaring type: TTMSFNCBloxControl

Syntax

function CreateCanvas(AGraphics: TTMSFNCGraphics; AAntiAliasing: Boolean): TTMSFNCBloxDGRCanvas;

Parameters

Name Description
AGraphics The graphics context that receives the rendered diagram.
AAntiAliasing When True, anti-aliasing is enabled for the created canvas.

Returns

The canvas wrapper used to draw the diagram.