List of usage examples for com.badlogic.gdx.graphics Color WHITE
Color WHITE
To view the source code for com.badlogic.gdx.graphics Color WHITE.
Click Source Link
From source file:me.scarlet.undertailor.texts.TextComponent.java
License:Open Source License
public Color getColor() { if (color == null) { if (parent != null && parent.color != null) { return parent.color; }/*from w w w.jav a2 s . co m*/ return Color.WHITE; } return color; }
From source file:mobi.shad.s3lib.gfx.g3d.simpleobject.ObjectMesh.java
License:Apache License
/** * @return//ww w .j av a2 s . co m */ public Model getModel() { dataToMesh(); Material mat = new Material(ColorAttribute.createDiffuse(Color.WHITE)); return getModel(mesh, 0, mesh.getNumVertices(), GL20.GL_TRIANGLES, mat); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.ColorFilter.java
License:Apache License
/** * @param pixmap */ @Override public void generate(final Pixmap pixmap) { generate(pixmap, Color.WHITE, 255, 255, 255, 127, 127, 127, 127); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.ColorFilter.java
License:Apache License
/** * @param pixmap */ @Override public void filter(Pixmap pixmap) { generate(pixmap, Color.WHITE, 255, 255, 255, 127, 127, 127, 127); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.ColorFilter.java
License:Apache License
/** * @param pixmap/*from w w w . j a v a 2 s . c o m*/ */ @Override public void random(final Pixmap pixmap) { generate(pixmap, Color.WHITE, (int) 255, 255, 255, (int) (Math.random() * 255), (int) (Math.random() * 255), (int) (Math.random() * 255), 127); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.Glow.java
License:Apache License
/** * @param pixmap */ @Override public void generate(final Pixmap pixmap) { generate(pixmap, Color.WHITE, 0.5f, 0.5f, 0.25f, 0.25f, 10, 10); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.Glow.java
License:Apache License
/** * @param pixmap */ @Override public void filter(Pixmap pixmap) { generate(pixmap, Color.WHITE, 0.5f, 0.5f, 0.25f, 0.25f, 10, 10); }
From source file:mobi.shad.s3lib.gfx.pixmap.filter.Glow.java
License:Apache License
/** * @param pixmap/* w w w. j a v a2 s.com*/ */ @Override public void random(Pixmap pixmap) { generate(pixmap, Color.WHITE, (float) Math.random(), (float) Math.random(), (float) Math.random() * .5f, (float) Math.random() * .5f, 10, 10); }
From source file:mobi.shad.s3lib.gfx.pixmap.procedural.Cell.java
License:Apache License
/** * Single operation process * * @param pixmap */ @Override public void generate(Pixmap pixmap) { generate(pixmap, 128, 64, Color.WHITE, 0, 0); }
From source file:mobi.shad.s3lib.gfx.pixmap.procedural.Cell.java
License:Apache License
/** * Random operation process//from ww w. j a v a 2 s . co m * * @param pixmap */ @Override public void random(Pixmap pixmap) { generate(pixmap, (float) Math.random(), 4, Color.WHITE, (int) (Math.random() * 3), (int) (Math.random() * 2)); }