MouseMoved

class MouseMoved(val x: Float, val y: Float, val dx: Float, val dy: Float) : PlatformEvent(source)

Reports that the mouse moved to (x, y) in window points, by dx and dy points since the previous MouseMoved.

Positive dx is to the right and positive dy is down, like the window's coordinates.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, dx: Float, dy: Float)

Properties

Link copied to clipboard
val dx: Float

Horizontal movement in points since the previous event.

Link copied to clipboard
val dy: Float

Vertical movement in points since the previous event.

Link copied to clipboard
val x: Float

Horizontal position in window points.

Link copied to clipboard
val y: Float

Vertical position in window points.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String