public class Ink
extends java.lang.Object
Constructor and Description |
---|
Ink(float line_w)
constructor for ink.
|
public Ink(float line_w)
line_w
- width of line.public void Destroy()
public void OnDown(float x, float y)
x
- x value of point in this object.y
- y value of point in this object.public void OnMove(float x, float y)
x
- x value of point in this object.y
- y value of point in this object.public void OnUp(float x, float y)
x
- x value of point in this object.y
- y value of point in this object.public void OnDraw(Canvas canvas)
canvas
- Canvas to draw