FMX.StdCtrls.TPathLabel

From RAD Studio API Documentation

TPathLabelFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject

Delphi

TPathLabel = class(TStyledControl)

C++

class PASCALIMPLEMENTATION TPathLabel : public Fmx::Controls::TStyledControl

Properties

Type Visibility Source Unit Parent
class public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls FMX.StdCtrls

Description

Represents a graphical control used to display information contained in TPathData within FireMonkey forms.

Use TPathLabel components in FireMonkey forms to add TPathData display capabilities.

For instance, the following image displays three rectangles by using a TPathData object.

var
  PathData: TPathData;

begin
  PathData:= TPathData.Create;
  PathData.AddRectangle(RectF(20, 20, 80, 80), 0, 0, AllCorners);
  PathData.AddRectangle(RectF(10, 10, 90, 90), 0, 0, AllCorners);
  PathData.AddRectangle(RectF(0, 0, 100, 100), 0, 0, AllCorners);
  PathLabel1.Data := PathData;

  { ... other instructions ... }

To add an object to a form that displays text, use a TLabel.

See Also

Code Examples