FMX.Graphics.TCanvas.PtInPath

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function PtInPath(const APoint: TPointF; const APath: TPathData): Boolean; virtual; abstract;

C++

virtual bool __fastcall PtInPath(const System::Types::TPointF &APoint, TPathData* const APath) = 0 ;

Propriétés

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


Description

Vérifie si un certain point appartient à un TPathData.

PtInPath est implémentée par les descendants de TCanvas pour vérifier si un certain point appartient à un TPathData spécifié.

Le paramètre APoint spécifie le point à vérifier.

Le paramètre APath spécifie le TPathData dans lequel APoint est recherché.

PtInPath renvoie True si APoint appartient à APath, et False sinon.

Si APath est vide, PtInPath ne fait rien. Elle ne déclenche aucune erreur.

Voir aussi