Gesture.getBoundingBoxCenter

bool getBoundingBoxCenter(out double x, out double y)

If there are touch sequences being currently handled by gesture, returns true and fills in x and y with the center of the bounding box containing all active touches.

Otherwise, false will be returned.

Parameters

xX coordinate for the bounding box center
yY coordinate for the bounding box center

Returns

false if no active touches are present, true otherwise