public class BlockViewport extends Block
ABSOLUTE, allowBPDUpdate, FIXED, RELATIVE, STACK
children, xOffset, yOffset
bpd, 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, TB
extensionAttachments, foreignAttributes
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, setPositioning
addChildArea, getChildAreas, getXOffset, getYOffset, isEmpty, setXOffset, setYOffset
addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public 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-2010 The Apache Software Foundation. All Rights Reserved.