Package vash.operation

Examples of vash.operation.LinearGradient1


  // linear gradient do a full planar rotation
  LinearGradient1 getLinGrad(double deg) {
    double rad = Math.PI * deg / 180.0;
    double x0 = Math.sin(rad) / 2.0;
    double y0 = Math.cos(rad) / 2.0;
    return new LinearGradient1(x0, y0, -x0, -y0);
  }
View Full Code Here

TOP

Related Classes of vash.operation.LinearGradient1

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.