Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created February 25, 2015 12:43
Show Gist options
  • Save codenameone/6df4d1a0c1996b3efe78 to your computer and use it in GitHub Desktop.
Save codenameone/6df4d1a0c1996b3efe78 to your computer and use it in GitHub Desktop.
public void pointerPressed(int x, int y) {
addPoint(x-getParent().getAbsoluteX(), y-getParent().getAbsoluteY());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment