MCPcopy Create free account
hub / github.com/HumbleUI/Skija / onMouseMove

Method onMouseMove

examples/kwinit/src_java/Main.java:193–201  ·  view source on GitHub ↗
(float x, float y, float screenX, float screenY)

Source from the content-addressed store, hash-verified

191 }
192
193 public void onMouseMove(float x, float y, float screenX, float screenY) {
194 mouseX = x;
195 mouseY = y;
196 if (leftMouse) {
197 outerX = screenX - screenStartX;
198 outerY = screenY - screenStartY;
199 ExternalAPI.fireUserEvent(2);
200 }
201 }
202
203 public void onMouseDown(String button) {
204 leftMouse = true;

Callers 1

runMethod · 0.95

Calls 1

fireUserEventMethod · 0.95

Tested by

no test coverage detected