org.apache.fop.area
public class BlockViewport extends Block
ABSOLUTE, allowBPDUpdate, FIXED, RELATIVE, STACKchildren, xOffset, yOffsetbpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TBforeignAttributes| Constructor and Description |
|---|
BlockViewport()
Create a new block viewport area.
|
BlockViewport(boolean allowBPDUpdate)
Create a new block viewport area.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getClip()
Get the clipping for this viewport.
|
CTM |
getCTM()
Get the transform of this block viewport.
|
void |
setClip(boolean cl)
Set the clipping for this viewport.
|
void |
setCTM(CTM ctm)
Set the transform of this viewport.
|
addBlock, addBlock, addLineArea, getPositioning, getStartIndent, isStacked, setPositioningaddChildArea, getChildAreas, getXOffset, getYOffset, isEmpty, setXOffset, setYOffsetaddTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toStringgetForeignAttributes, getForeignAttributeValue, setForeignAttribute, setForeignAttributespublic BlockViewport()
public BlockViewport(boolean allowBPDUpdate)
allowBPDUpdate - true allows the BPD to be updated when children are addedpublic void setCTM(CTM ctm)
ctm - the transformationpublic CTM getCTM()
public void setClip(boolean cl)
cl - the clipping for the viewportpublic boolean getClip()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.