首页 > 文档 > noCursor()窗口隐藏鼠标指针
2017
07-03

noCursor()窗口隐藏鼠标指针

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()

 

 

 

 

 

 

 



最后编辑:
作者:卡萨布兰卡
这个作者貌似有点懒,什么都没有留下。

留下一个回复

你的email不会被公开。