Package de.yaams.rgssplayer.core.java

Examples of de.yaams.rgssplayer.core.java.Rect


    if (alpha < 255.0D) {
      c = g.getComposite();
      g.setComposite(AlphaComposite.getInstance(3, (float) (alpha / 255.0D)));
    }

    Rect rect = text_size(str);

    height -= 3;
    width -= 6;

    if (align == 0) {
View Full Code Here


    g.setFont(Transfer.convert(this.container.font));

    Rectangle2D r = g.getFontMetrics().getStringBounds(str, g);

    return new Rect(0, 0, (int) r.getWidth(), (int) r.getHeight());
  }
View Full Code Here

TOP

Related Classes of de.yaams.rgssplayer.core.java.Rect

Copyright © 2018 www.massapicom. 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.