]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Accessor for clip value.
authorJeremias Maerki <jeremias@apache.org>
Fri, 18 Mar 2005 13:18:49 +0000 (13:18 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 18 Mar 2005 13:18:49 +0000 (13:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_KnuthStylePageBreaking@198512 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/area/RegionViewport.java

index 3e138131058a05ef74b64b9c0f376617bb3c03b4..fdcf39a40ce8a64733e896fa58111ef401086399 100644 (file)
@@ -69,6 +69,11 @@ public class RegionViewport extends Area implements Cloneable {
         clip = c;
     }
 
+    /** @return true if the viewport should be clipped. */
+    public boolean isClip() {
+        return this.clip;
+    }
+    
     /**
      * Get the view area of this viewport.
      *