List of usage examples for com.badlogic.gdx.graphics Color BLACK
Color BLACK
To view the source code for com.badlogic.gdx.graphics Color BLACK.
Click Source Link
From source file:YOGOSec.core.gui.Button.java
License:LGPL
@Override public void onGUIResized(int width, int height) { super.onGUIResized(width, height); this.pixmap.dispose(); this.pixmap = new YUpPixmap(width, height, Pixmap.Format.RGBA8888); pixmap.setColor(Color.RED);/* w ww . j av a2s .com*/ pixmap.fillRectangle(this.bounds.getX().intValue(), this.bounds.getY().intValue(), this.bounds.getWidth().intValue(), this.bounds.getHeight().intValue()); pixmap.setColor(Color.BLACK); }