Package net.edzard.kinetic

Examples of net.edzard.kinetic.Text


   * Tests changing of padding.
   */
  public void testChangeOfPadding() {
   
    // Create a text object
    final Text t = Kinetic.createText(position, text);
    System.out.println(t);
    layer.add(t);

    // Change padding
    final double padding = t.getPadding();
    t.setPadding(padding + paddingIncrement);
    assertEquals("Could not properly change padding on Text object", padding + paddingIncrement, t.getPadding(), 0.0000001);
 
View Full Code Here

TOP

Related Classes of net.edzard.kinetic.Text

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.