Gesture.getBoundingBoxCenter

If there are touch sequences being currently handled by @gesture, this function returns %TRUE and fills in @x and @y with the center of the bounding box containing all active touches. Otherwise, %FALSE will be returned.

class Gesture
bool
getBoundingBoxCenter
(
out double x
,
out double y
)

Parameters

x double

X coordinate for the bounding box center

y double

Y coordinate for the bounding box center

Return: %FALSE if no active touches are present, %TRUE otherwise

Meta

Since

3.14