aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/Region.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layout/Region.java')
-rw-r--r--src/org/apache/fop/layout/Region.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/org/apache/fop/layout/Region.java b/src/org/apache/fop/layout/Region.java
new file mode 100644
index 000000000..aeb9358cc
--- /dev/null
+++ b/src/org/apache/fop/layout/Region.java
@@ -0,0 +1,20 @@
+package org.apache.xml.fop.layout;
+
+public class Region {
+
+ private int xPosition;
+ private int yPosition;
+ private int width;
+ private int height;
+
+ public Region(int xPosition, int yPosition, int width, int height) {
+ this.xPosition = xPosition;
+ this.yPosition = yPosition;
+ this.width = width;
+ this.height = height;
+ }
+
+ public AreaContainer makeAreaContainer() {
+ return new AreaContainer(xPosition, yPosition, width, height);
+ }
+}