Examples of LinearGradient1


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
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.