Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将处理中的鼠标光标更改为具有透明度的 png?
仅在应用程序窗口中。
试试这个:
PImage mouseCursor; void setup() { size(640,480); mouseCursor = loadImage("MouseCursor.png"); } void draw() { if(mouseX < 100) { cursor(mouseCursor, 0, 0); } else { cursor(HAND); } }