Package com.myscript.iink.graphics
Class InkPoint
java.lang.Object
com.myscript.iink.graphics.InkPoint
Represents an ink point.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public float xThe point x coordinate. -
y
public float yThe point y coordinate. -
t
public long tThe point timestamp. -
f
public float fThe point normalised pressure.
-
-
Constructor Details
-
InkPoint
public InkPoint(float x, float y, long t, float f) Constructs a InkPoint- Parameters:
x
- the event x coordinate.y
- the event y coordinate.t
- the event timestamp in ms since Unix EPOCH, or -1.f
- the event pressure.
-
InkPoint
public InkPoint()Default constructor.
-
-
Method Details