Package com.badlogic.gdx.graphics

Examples of com.badlogic.gdx.graphics.Color.mul()


    color.a *= parentAlpha;
    if (style.background != null) {
      batch.setColor(color.r, color.g, color.b, color.a);
      style.background.draw(batch, getX(), getY(), getWidth(), getHeight());
    }
    if (style.fontColor != null) color.mul(style.fontColor);
    cache.setColors(color);
    cache.setPosition(getX(), getY());
    cache.draw(batch);
  }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.