public class HWriting
extends java.lang.Object
Constructor and Description |
---|
HWriting(int w,
int h,
float min_w,
float max_w,
int clr_r,
int clr_g,
int clr_b)
constructor for hand-writing.
|
public HWriting(int w, int h, float min_w, float max_w, int clr_r, int clr_g, int clr_b)
w
- width of cache.h
- height of cache.min_w
- min-width for ink width.max_w
- max-width for ink width.clr_r
- r values of ink color [0-255]clr_g
- g values of ink color [0-255]clr_b
- b values of ink color [0-255]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(int bmp)
bmp,
- obtained by Global.lockBitmap()