functional/SceneGraphTests/src/test/scenegraph/lcd/TestCollections.java

Print this page




  51         2, 2.5, 4, 8, 3.3
  52     }, SizeScaleTestAction.ScaleAxis.Y)),
  53     ScaleAll(SizeScaleTestAction.generateScales(new double[]{
  54         2, 2.5, 4, 8, 3.3
  55     }, SizeScaleTestAction.ScaleAxis.All)),
  56     Rotate(RotateTestAction.generate(new double[]{
  57         0, 45, 90, 180, 250, 360, 370
  58     })),
  59     Bloom(EffectTestAction.generate(new Bloom(), true)),
  60     BoxBlur(EffectTestAction.generate(new BoxBlur(), true)),
  61     ColorAdjust(EffectTestAction.generate(new ColorAdjust(), true)),
  62     //ColorInput(EffectTestAction.generate(new ColorInput(50, 50, 100, 100, Color.GREEN), false))
  63     DisplacementMap(EffectTestAction.generate(new DisplacementMap(), true)),
  64     DropShadow(EffectTestAction.generate(new DropShadow(BlurType.THREE_PASS_BOX, Color.BLACK, 10.0, 0.0, 0.0, 0.0), true)),
  65     GaussianBlur(EffectTestAction.generate(new GaussianBlur(), true)),
  66     Glow(EffectTestAction.generate(new Glow(), true)),
  67     InnerShadow(EffectTestAction.generate(new InnerShadow(), true)),
  68     Lighting(EffectTestAction.generate(new Lighting(), true)),
  69     MotionBlur(EffectTestAction.generate(new MotionBlur(), true)),
  70     PerspectiveTransform(EffectTestAction.generate(
  71             PerspectiveTransformBuilder.create()
  72             .ulx(10.0)
  73             .uly(10.0)
  74             .urx(100.0)
  75             .ury(40.0)
  76             .lrx(100.0)
  77             .lry(60.0)
  78             .llx(10.0)
  79             .lly(90.0)
  80             .build(), false)),
  81     Reflection(EffectTestAction.generate(new Reflection(), true)),
  82     SepiaTone(EffectTestAction.generate(new SepiaTone(), true)),
  83     Shadow(EffectTestAction.generate(new Shadow(), true))
  84     ;
  85 
  86     private TestAction[] actions;
  87 
  88     private TestCollections(TestAction[] actions) {
  89         this.actions = actions;
  90     }
  91 
  92     public TestAction[] getActions() {
  93         return actions;
  94     }
  95 }


  51         2, 2.5, 4, 8, 3.3
  52     }, SizeScaleTestAction.ScaleAxis.Y)),
  53     ScaleAll(SizeScaleTestAction.generateScales(new double[]{
  54         2, 2.5, 4, 8, 3.3
  55     }, SizeScaleTestAction.ScaleAxis.All)),
  56     Rotate(RotateTestAction.generate(new double[]{
  57         0, 45, 90, 180, 250, 360, 370
  58     })),
  59     Bloom(EffectTestAction.generate(new Bloom(), true)),
  60     BoxBlur(EffectTestAction.generate(new BoxBlur(), true)),
  61     ColorAdjust(EffectTestAction.generate(new ColorAdjust(), true)),
  62     //ColorInput(EffectTestAction.generate(new ColorInput(50, 50, 100, 100, Color.GREEN), false))
  63     DisplacementMap(EffectTestAction.generate(new DisplacementMap(), true)),
  64     DropShadow(EffectTestAction.generate(new DropShadow(BlurType.THREE_PASS_BOX, Color.BLACK, 10.0, 0.0, 0.0, 0.0), true)),
  65     GaussianBlur(EffectTestAction.generate(new GaussianBlur(), true)),
  66     Glow(EffectTestAction.generate(new Glow(), true)),
  67     InnerShadow(EffectTestAction.generate(new InnerShadow(), true)),
  68     Lighting(EffectTestAction.generate(new Lighting(), true)),
  69     MotionBlur(EffectTestAction.generate(new MotionBlur(), true)),
  70     PerspectiveTransform(EffectTestAction.generate(
  71             new PerspectiveTransform(10.0, 10.0, 100.0, 40.0, 100.0, 60.0, 10.0, 90.0), false)),









  72     Reflection(EffectTestAction.generate(new Reflection(), true)),
  73     SepiaTone(EffectTestAction.generate(new SepiaTone(), true)),
  74     Shadow(EffectTestAction.generate(new Shadow(), true))
  75     ;
  76 
  77     private TestAction[] actions;
  78 
  79     private TestCollections(TestAction[] actions) {
  80         this.actions = actions;
  81     }
  82 
  83     public TestAction[] getActions() {
  84         return actions;
  85     }
  86 }