Package net.edzard.kinetic

Examples of net.edzard.kinetic.Ellipse


  private final static Vector2d changedRadius = new Vector2d(23,23);
 
  public void testChangeOfRadius() {
   
    // Create an ellipse
    final Ellipse e = Kinetic.createEllipse(position, originalRadius);
    layer.add(e);
    assertEquals("Creation method for Ellipse object does not set proper radius", originalRadius, e.getRadius());
   
    // Change radius
    e.setRadius(changedRadius);
    assertEquals("Could not properly change radius on Ellipse object",changedRadius, e.getRadius());
 
View Full Code Here

TOP

Related Classes of net.edzard.kinetic.Ellipse

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.