PictureEffectsRaw Xojo Plugin

MeshGrid.MeshPointFromXY Method (console safe)

Gets mesh point from X, Y mouse coordinates, with given tolerance.

MeshPointFromXY(
   x as Integer,
   y as Integer,
   toleranece as Integer,
   imageWidth as Integer,
   imageHeight as Integer) as Integer

Parameters

x
X location to test for.
y
Y location to test for.
toleranece
Tolerance amount in pixels.
imageWidth
Width of the image.
imageHeight
Height of the image.

Returns

Integer
The index of the found point or -1 if not found.

Remarks

See Also

MeshGrid Class