Skip to main content
Table of Contents

TTMSFNCGraphicsPath.Flatten Method

Approximates all curves in the path with line segments.

API unit family: TMSFNCGraphicsTypes Declaring type: TTMSFNCGraphicsPath

Syntax

FMX.TMSFNCGraphicsTypes.hppPascalC++
procedure Flatten(const Flatness: Single = 0.25);
void __fastcall Flatten(const float Flatness = 2.500000E-01f);

Parameters

Name Description
Flatness Curve approximation tolerance; smaller values produce smoother curves. Default is 0.25.