FMX.Objects.TCustomPath.PointInObject

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function PointInObject(X, Y: Single): Boolean; override;

C++

virtual bool __fastcall PointInObject(float X, float Y);

Propriétés

Type Visibilité  Source Unité  Parent
function public
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TCustomPath


Description

Vérifie si le point spécifié appartient aux données de chemin de l'objet TCustomPath.

PointInObject appelle la méthode FMX.Graphics.TCanvas.PtInPath de l'objet TCanvas afin de vérifier si le point spécifié appartient aux données de chemin de l'objet TCustomPath.

X et Y sont des coordonnées absolues, exprimées en pixels, du point à vérifier :

  • X est la coordonnée x.
  • Y est la coordonnée y.

Voir aussi