touchscreen
Class Point

java.lang.Object
  extended by touchscreen.Point

public class Point
extends java.lang.Object

Simple class to represent a touch-screen point. Includes x,y (top-left of the box around the hand) and w,h (width and height of the box). Uses public variables.

Author:
Kevin Cox, http://www.jibberia.com/

Field Summary
 int h
          height of box around this touch
 int w
          width of box around this touch
 int x
          top left corner
 int y
          top left corner
 
Constructor Summary
Point(int x, int y)
           
Point(int x, int y, int w, int h)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
top left corner


y

public int y
top left corner


w

public int w
width of box around this touch


h

public int h
height of box around this touch

Constructor Detail

Point

public Point(int x,
             int y,
             int w,
             int h)

Point

public Point(int x,
             int y)