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
ConstructorsConstructorDescriptionViewport(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:
startin classIFGraphicContext.Group- Parameters:
painter- a painter- Throws:
IFException- in not caught
-
end
- Overrides:
endin classIFGraphicContext.Group- Parameters:
painter- a painter- Throws:
IFException- in not caught
-
toString
- Overrides:
toStringin classIFGraphicContext.Group
-