Show: Delphi
C++
Display Preferences
FMX.Controls.TPathLabel
From XE3 API Documentation
Delphi
TPathLabel = class(TStyledControl)
C++
class PASCALIMPLEMENTATION TPathLabel : public Fmx::Types::TStyledControl
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | FMX.Controls |
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.
