Event.eventsGetCenter

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

class Event
int
eventsGetCenter
(,
out double x
,
out double y
)

Parameters

event2 Event

second GdkEvent

x double

return location for the X coordinate of the center. out

y double

return location for the Y coordinate of the center. out

Return Value

Type: int

TRUE if the center could be calculated. Since 3.0

Meta