org.apache.fop.area
Class RegionViewport
- Cloneable, Serializable
public class RegionViewport
implements Cloneable
Region Viewport area.
This object represents the region-viewport-area. It has a
region-reference-area as its child. These areas are described
in the fo:region-body description in the XSL Recommendation.
BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, RL, TB, bpd, ipd, log, props |
RegionViewport(Rectangle2D viewArea)- Create a new region-viewport-area
|
addChildArea, addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBPD, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
RegionViewport
public RegionViewport(Rectangle2D viewArea)
Create a new region-viewport-area
viewArea - the view area of this viewport
clone
public Object clone()
Clone this region viewport.
Used when creating a copy from the page master.
- a new copy of this region viewport
getRegionReference
public RegionReference getRegionReference()
Get the region-reference-area for this region viewport.
- the child region-reference-area inside this viewport
getViewArea
public Rectangle2D getViewArea()
Get the view area of this viewport.
- the viewport rectangle area
isClip
public boolean isClip()
- true if the viewport should be clipped.
setClip
public void setClip(boolean c)
Set the clipping for this region viewport.
setRegionReference
public void setRegionReference(RegionReference reg)
Set the region-reference-area for this region viewport.
reg - the child region-reference-area inside this viewport
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.