Package dwlab.shapes

Examples of dwlab.shapes.Line


  public void toLine( Line line ) {
    line.usePoints( x, y, x + Math.cos( angle ), y + Math.sin( angle ) );
  }
 
  public Line toLine() {
    Line line = new Line();
    toLine( line );
    return line;
  }
View Full Code Here


      line.usePoints( x, y, x + width, y + height );
    }
  }
 
  public Line getHypotenuse() {
    Line line = new Line();
    getHypotenuse( line );
    return line;
  }
View Full Code Here

  public void toLine( Line line ) {
    line.usePivots( pivot[ 0 ], pivot[ 1 ] );
  }
 
  public Line toLine() {
    return new Line( pivot[ 0 ], pivot[ 1 ] );
  }
View Full Code Here

TOP

Related Classes of dwlab.shapes.Line

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.