pbwest 2004/07/06 07:19:26 Modified: src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design AreaFrame.java Log: Converted contents from Rectangle2D to AreaGeometry. Revision Changes Path No revision No revision 1.1.2.9 +4 -4 xml-fop/src/java/org/apache/fop/area/Attic/AreaFrame.java Index: AreaFrame.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/Attic/AreaFrame.java,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -r1.1.2.8 -r1.1.2.9 --- AreaFrame.java 29 Jun 2004 07:34:22 -0000 1.1.2.8 +++ AreaFrame.java 6 Jul 2004 14:19:26 -0000 1.1.2.9 @@ -36,7 +36,7 @@ public class AreaFrame extends AreaGeometry { /** The framed rectangle */ - protected Rectangle2D contents = null; + protected AreaGeometry contents = null; /** The offset from <code>this</code> origin to the origin of the framed * rectangle */ protected Point2D contentOffset = null; @@ -120,7 +120,7 @@ * the new framed contents. The offset is not affected. * @param contents the new framed contents */ - public void setContents(Rectangle2D contents) { + public void setContents(AreaGeometry contents) { setRect(getX(), getY(), getWidth() + (contents.getWidth() - this.contents.getWidth()), getHeight() + (contents.getWidth() - this.contents.getWidth()));
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]