Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.DrawPath Method

Draws the outline of a path using the specified stroke style.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
procedure DrawPath(AStroke: TTMSFNCGraphicsStroke; APath: TTMSFNCGraphicsPath; APathMode: TTMSFNCGraphicsPathDrawMode = pdmPolygon); override;
virtual void __fastcall DrawPath(TTMSFNCGraphicsStroke* AStroke, TTMSFNCGraphicsPath* APath, TTMSFNCGraphicsPathDrawMode APathMode = (TTMSFNCGraphicsPathDrawMode)(0x0));

Parameters

Name Description
AStroke The stroke style to apply.
APath The path to draw.
APathMode Controls whether the path is rendered as a polygon or polyline.