Table of Contents

TTMSFNCGraphicsContext.DrawPath Method

Strokes a graphics path using AStroke settings.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

procedure DrawPath(AStroke: TTMSFNCGraphicsStroke; APath: TTMSFNCGraphicsPath; APathMode: TTMSFNCGraphicsPathDrawMode = pdmPolygon); virtual; abstract;

Parameters

Name Description
AStroke Stroke settings (color, width, kind) to apply.
APath Path to stroke.
APathMode Rendering mode controlling whether the path is closed as a polygon or drawn as an open polyline.