Class IFGraphicContext.Viewport
java.lang.Object
org.apache.fop.render.intermediate.IFGraphicContext.Group
org.apache.fop.render.intermediate.IFGraphicContext.Viewport
- Enclosing class:
- IFGraphicContext
a viewport
-
Constructor Summary
ConstructorDescriptionViewport
(AffineTransform[] transforms, Dimension size, Rectangle clipRect) Construct a viewport.Viewport
(AffineTransform transform, Dimension size, Rectangle clipRect) Construct a viewport. -
Method Summary
Methods inherited from class org.apache.fop.render.intermediate.IFGraphicContext.Group
getLayer, getTransforms
-
Constructor Details
-
Viewport
Construct a viewport.- Parameters:
transforms
- an array of transformssize
- a dimensionclipRect
- a clip rectangle
-
Viewport
Construct a viewport.- Parameters:
transform
- a transformsize
- a dimensionclipRect
- a clip rectangle
-
-
Method Details
-
getSize
- Returns:
- the viewport's size
-
getClipRect
- Returns:
- the clip rectangle
-
start
- Overrides:
start
in classIFGraphicContext.Group
- Parameters:
painter
- a painter- Throws:
IFException
- in not caught
-
end
- Overrides:
end
in classIFGraphicContext.Group
- Parameters:
painter
- a painter- Throws:
IFException
- in not caught
-
toString
- Overrides:
toString
in classIFGraphicContext.Group
-