processing 鼠标光标显隐设置

来源:互联网 发布:cad自学软件 编辑:程序博客网 时间:2024/05/20 13:15
cursor(kind)cursor(img)cursor(img, x, y)cursor()
kind    --    int: either ARROW, CROSS, HAND, MOVE, TEXT, or WAIT  几种光标状态设置
img   -- PImage: any variable of type PImage     光标替代图片
x  --  int: the horizontal active spot of the cursor  光标替代图片x坐标
y  --  int: the vertical active spot of the cursor   光标替代图片y坐标
noCursor()    隐藏鼠标
noCursor()
0 0