@Test public void testTransformationFlipY() throws Exception { AffineTransform i2o = new ProductTransformation(INPUT_PRODUCT, false, true).getTransform(); assertEquals(point(85f, 25f), i2o.transform(point(15f, 25f), null)); assertEquals(point(90f, 20f), i2o.transform(point(10f, 20f), null)); assertEquals(point(60f, 20f), i2o.transform(point(40f, 20f), null)); assertEquals(point(60f, 50f), i2o.transform(point(40f, 50f), null)); assertEquals(point(90f, 50f), i2o.transform(point(10f, 50f), null)); }
public AffineTransform getTransform() { return transform; }
ProductTransformation { public AffineTransform getTransform() { return transform; } }
ProductTransformation { public AffineTransform getTransform() { return transform; } ProductTransformation(Rectangle subsetRectangle, boolean flipX, boolean flipY); }
ProductTransformation { public AffineTransform getTransform() { return transform; } ProductTransformation(Rectangle subsetRectangle, boolean flipX, boolean flipY); static ProductTransformation parse(String productTransformationString, Rectangle productRectangle); AffineTransform getTransform(); }
ProductTransformation { public AffineTransform getTransform() { return transform; } ProductTransformation(Rectangle subsetRectangle, boolean flipX, boolean flipY); static ProductTransformation parse(String productTransformationString, Rectangle productRectangle); AffineTransform getTransform();  }