FMX.Graphics.TPathData.ClosePath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClosePath;

C++

void __fastcall ClosePath(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TPathData

Description

Closes the current TPathData.

A closed path is a path for which the start point and the LastPoint coincide.

The start point of a TPathData is the first point in the Points array.

ClosePath adds the start point of the TPathData at the end of the Points array. The added point if of type Close.

See Also

Code Examples