Package vash.operation

Examples of vash.operation.LinearGradient1


    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2110", new LinearGradient(0, -1, 0.09, 1)); }

  // new linear gradient
  @Test public void testLinGrad1DiagLeftFill()  { this.runTest("2111", new LinearGradient1(0, 0, 1, 1)); }
View Full Code Here


    this.opt.setWidth(256);
    this.runTest("2110", new LinearGradient(0, -1, 0.09, 1)); }

  // new linear gradient
  @Test public void testLinGrad1DiagLeftFill()  { this.runTest("2111", new LinearGradient1(0, 0, 1, 1)); }
  @Test public void testLinGrad1DiagRightFill() { this.runTest("2112", new LinearGradient1(-1, -1, 0, 0)); }
View Full Code Here

    this.runTest("2110", new LinearGradient(0, -1, 0.09, 1)); }

  // new linear gradient
  @Test public void testLinGrad1DiagLeftFill()  { this.runTest("2111", new LinearGradient1(0, 0, 1, 1)); }
  @Test public void testLinGrad1DiagRightFill() { this.runTest("2112", new LinearGradient1(-1, -1, 0, 0)); }
  @Test public void testLinGrad1DiagNorthSouth(){ this.runTest("2113", new LinearGradient1(0, -1, 0, 1)); }
View Full Code Here

  // new linear gradient
  @Test public void testLinGrad1DiagLeftFill()  { this.runTest("2111", new LinearGradient1(0, 0, 1, 1)); }
  @Test public void testLinGrad1DiagRightFill() { this.runTest("2112", new LinearGradient1(-1, -1, 0, 0)); }
  @Test public void testLinGrad1DiagNorthSouth(){ this.runTest("2113", new LinearGradient1(0, -1, 0, 1)); }
  @Test public void testLinGrad1DiagSouthNorth(){ this.runTest("2114", new LinearGradient1(0, 1, 0, -1)); }
View Full Code Here

  @Test public void testLinGrad1DiagNorthSouth(){ this.runTest("2113", new LinearGradient1(0, -1, 0, 1)); }
  @Test public void testLinGrad1DiagSouthNorth(){ this.runTest("2114", new LinearGradient1(0, 1, 0, -1)); }
  @Test public void testLinGrad1DiagNonSquareNorthSouth() {
    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2115", new LinearGradient1(0, -1, 0, 1));
  }
View Full Code Here

    this.runTest("2115", new LinearGradient1(0, -1, 0, 1));
  }
  @Test public void testLinGrad1DiagNonSquareSouthNorth() {
    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2116", new LinearGradient1(0, 1, 0, -1)); }
View Full Code Here

  @Test public void testLinGrad1DiagNonSquareSouthNorth() {
    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2116", new LinearGradient1(0, 1, 0, -1)); }
  @Test public void testLinGrad1DiagNorthSouthTiltedBig()  {
    this.runTest("2117", new LinearGradient1(0, -1, 1, 1)); }
View Full Code Here

    this.opt.setWidth(256);
    this.runTest("2116", new LinearGradient1(0, 1, 0, -1)); }
  @Test public void testLinGrad1DiagNorthSouthTiltedBig()  {
    this.runTest("2117", new LinearGradient1(0, -1, 1, 1)); }
  @Test public void testLinGrad1DiagNorthSouthTiltedSmall()  {
    this.runTest("2118", new LinearGradient1(0, -1, 0.09, 1)); }
View Full Code Here

  @Test public void testLinGrad1DiagNorthSouthTiltedSmall()  {
    this.runTest("2118", new LinearGradient1(0, -1, 0.09, 1)); }
  @Test public void testLinGrad1DiagNonSquareNorthSouthTiltedBig()  {
    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2119", new LinearGradient1(0, -1, 1, 1)); }
View Full Code Here

    this.opt.setWidth(256);
    this.runTest("2119", new LinearGradient1(0, -1, 1, 1)); }
  @Test public void testLinGrad1DiagNonSquareNorthSouthTiltedSmall()  {
    this.ip = new ImageParameters(256, 128);
    this.opt.setWidth(256);
    this.runTest("2120", new LinearGradient1(0, -1, 0.09, 1)); }
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.