Property

topRight

Returns the top right corner of the node we're interacting with, in the node's local coordinate system, where (0, 0) is the top left corner of the node.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

Deprecated

Replaced by TouchInjectionScope. Use performTouchInput instead of performGesture

Source set: Common

Added in 1.11.0-rc01

Deprecated in 1.11.0-rc01

val GestureScope.topRight: Offset

Returns the top right corner of the node we're interacting with, in the node's local coordinate system, where (0, 0) is the top left corner of the node. Note that topRight.x != width, see right.