FMX.StdCtrls.TPathLabel

De RAD Studio API Documentation
Aller à : navigation, rechercher

FMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTPathLabel

Delphi

TPathLabel = class(TStyledControl)

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
class public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls FMX.StdCtrls

Description

Représente un contrôle graphique utilisé pour afficher les informations contenues dans TPathData dans les fiches FireMonkey.

Utilisez les composants TPathLabel dans les fiches FireMonkey pour ajouter les capacités d'affichage de TPathData.

Par exemple, l'image suivante affiche trois rectangles en utilisant un objet TPathData.

 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 ... }

PathLabel.png

Pour ajouter un objet à une fiche qui affiche du texte, utilisez un TLabel.

Voir aussi

Exemples de code