Modifier and Type | Method and Description |
---|---|
void |
scroll(double wheelRotation,
boolean isHorizontal,
int x,
int y)
The mouse-wheel was scrolled by the specified amount horizontally or
vertically, while the mouse pointer was at the specified location.
|
void scroll(double wheelRotation, boolean isHorizontal, int x, int y)
wheelRotation
- the number of "clicks" the mouse wheel was rotated, may be
fractional. negative for scrolling up/right and positive for
scrolling down/left.isHorizontal
- true
if scrolling horizontally, false
if
scrolling vertically.x
- mouse x.y
- mouse y.Copyright © 2015–2022 SciJava. All rights reserved.