FMX.TextLayout.TTextLayout.ConvertToPath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ConvertToPath(const APath: TPathData); virtual; abstract;

C++

virtual void __fastcall ConvertToPath(Fmx::Graphics::TPathData* const APath) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.TextLayout.pas
FMX.TextLayout.hpp
FMX.TextLayout TTextLayout

Description

Converts the current TTextLayout to a TPathData object.

APath parameter keeps the resulted TPathData object.

Before using ConvertToPath make sure that APath is created by calling its constructor.

If there is no text within the current TTextLayout, then ConvertToPath does nothing. To set the layout text, use the Text property.

See Also