FMX.Graphics.TCanvas.FillPath

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure FillPath(const APath: TPathData; const AOpacity: Single); overload;
procedure FillPath(const APath: TPathData; const AOpacity: Single; const ABrush: TBrush); overload;

C++

void __fastcall FillPath(TPathData* const APath, const float AOpacity)/* overload */;
void __fastcall FillPath(TPathData* const APath, const float AOpacity, TBrush* const ABrush)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TCanvas


Description

Remplit un chemin et l'affiche sur le TCanvas en cours.

FillPath est implémentée par les descendants de TCanvas pour remplir un TPathData, avec le pinceau en cours, spécifié par la propriété Fill.

Le paramètre APath spécifie le TPathData à dessiner.

Le paramètre AOpacity spécifie la transparence de la couleur de Fill.

Si APath est vide, FillPath ne fait rien. Dans ce cas, elle ne déclenche aucune erreur.

Remarque : Avant d'appeler FillPath, assurez-vous que APath a été créé.

Voir aussi

Exemples de code