Event.getCenter

If both events contain X/Y information, the center of both coordinates will be returned in x and y.

class Event
static
bool
getCenter
(,,
out double x
,
out double y
)

Parameters

event1 Event

first gdk.Event

event2 Event

second gdk.Event

x double

return location for the X coordinate of the center

y double

return location for the Y coordinate of the center

Return Value

Type: bool

TRUE if the center could be calculated.

Meta