Examples of shadow()


Examples of org.tomighty.ui.theme.Colors.shadow()

      Colors colors = look.colors();
      float y = originY(lines);
      for(TextLayout line : lines.list) {
        float x = xFor(line);
        y += line.getAscent() - line.getDescent();
        Color shadowColor = colors.shadow();
        g.setColor(shadowColor);
        line.draw(g, x-1, y-1);
        g.setColor(colors.text());
        line.draw(g, x, y);
        y += line.getDescent();
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.