Examples of hitClip()


Examples of org.pentaho.reporting.engine.classic.core.testsupport.graphics.TestGraphics2D.hitClip()

    final TestRootBandRenderer r = new TestRootBandRenderer(subReport.getReportHeader(), subContext);
    final Rectangle2D bounds = r.getBounds();
    assertEquals(new Rectangle2D.Double(0, 21, 468, 108), bounds);

    final TestGraphics2D graphics2D = new ValidateTextGraphics(468, 108);
    assertTrue(graphics2D.hitClip(10, 10, 1, 1));
    r.draw(graphics2D);
  }


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