Package com.googlecode.jumpnevolve.math

Examples of com.googlecode.jumpnevolve.math.Shape.modifyCenter()


  }

  private void drawBackground(Graphics g) {
    if (this.parentContainer != null) {
      Shape shape = this.getNeededSize();
      shape = shape.modifyCenter(this.parentContainer
          .getPositionFor(this).add(
              new Vector(shape.getXRange(), shape.getYRange())
                  .div(2.0f)));
      GraphicUtils.fill(g, shape, this.backgroundColor);
    }
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.