FMX.Objects.TCustomPath.PointInObject
Delphi
function PointInObject(X, Y: Single): Boolean; override;
C++
virtual bool __fastcall PointInObject(float X, float Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TCustomPath |
Description
Checks whether the specified point belongs to the path Data of the TCustomPath object.
PointInObject calls the FMX.Graphics.TCanvas.PtInPath method of the TCanvas object to check whether the specified point belongs to the path Data of the TCustomPath object.
X
and Y
are absolute pixel coordinates of the point to be checked:
X
is the x-coordinate.Y
is the y-coordinate.