org.apache.fop.area
Class BlockViewport
- Serializable
public class BlockViewport
A BlockViewport.
This is used for block level Viewport/reference pairs.
The block-container creates this area.
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 |
CTM | getCTM() - Get the transform of this block viewport.
|
boolean | getClip() - Get the clipping for this viewport.
|
void | setCTM(CTM ctm) - Set the transform of this viewport.
|
void | setClip(boolean cl) - Set the clipping for this viewport.
|
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 |
BlockViewport
public BlockViewport()
Create a new block viewport area.
getCTM
public CTM getCTM()
Get the transform of this block viewport.
- the transformation of this viewport
or null if normally stacked without rotation
getClip
public boolean getClip()
Get the clipping for this viewport.
- the clipping for the viewport
true if the contents should be clipped for this viewport
setCTM
public void setCTM(CTM ctm)
Set the transform of this viewport.
If the viewport is rotated or has an absolute positioning
this transform will do the work.
setClip
public void setClip(boolean cl)
Set the clipping for this viewport.
cl
- the clipping for the viewport
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.