renderDevice.renderQuad(x + getX(), y + getY(), width, height, color);
}
public void renderQuad(final int x, final int y, final int width, final int height, final Color topLeft, final Color topRight, final Color bottomRight, final Color bottomLeft) {
if (isColorAlphaChanged()) {
Color a = new Color(topLeft, color.getAlpha());
Color b = new Color(topRight, color.getAlpha());
Color c = new Color(bottomRight, color.getAlpha());
Color d = new Color(bottomLeft, color.getAlpha());
renderDevice.renderQuad(x + getX(), y + getY(), width, height, a, b, c, d);
} else {
renderDevice.renderQuad(x + getX(), y + getY(), width, height, topLeft, topRight, bottomRight, bottomLeft);
}
}