You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RegionViewport.java 538B

123456789101112131415161718192021222324252627
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area;
  8. import java.awt.geom.Rectangle2D;
  9. public class RegionViewport {
  10. // this rectangle is relative to the page
  11. Rectangle2D regionArea;
  12. boolean clip;
  13. Region region;
  14. public void setRegion(Region reg) {
  15. region = reg;
  16. }
  17. public Region getRegion() {
  18. return region;
  19. }
  20. }