我已经使用Control-P5
库来绘制text label
void setup(){
size(1400,800);
cp5 = new ControlP5(this);
myTextlabelB = new Textlabel(cp5,"Hello world",100,100,400,200);
}
void draw(){
myTextlabelB.draw(this);
if(mousePressed){
myTextlabelB.hide();
// I want to hide the label here, but the hide function doesn't work
}
}