10.noCursor()
Name(名称):noCursor()//窗口隐藏鼠标指针
Examples(例子):
// Press the mouse to hide the cursor按下鼠标来隐藏光标
void draw()
{
if (mousePressed == true) {
noCursor();
} else {
cursor(HAND);
}
}
Description(描述):Hides the cursor from view. Will not work when running the program in a web browser or in full screen (Present) mode.
将光标隐藏在视图中。当在web浏览器或全屏模式下运行程序时,将不会起作用。
Syntax(语法):noCursor()
Returns(返回值):Void(无)
Related(相关函数):cursor()
- 本文固定链接: http://iprocessing.cn/2017/07/03/nocursor窗口隐藏鼠标指针/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表