public static class IFGraphicContext.Viewport extends IFGraphicContext.Group
| Constructor and Description |
|---|
Viewport(AffineTransform[] transforms,
Dimension size,
Rectangle clipRect)
Construct a viewport.
|
Viewport(AffineTransform transform,
Dimension size,
Rectangle clipRect)
Construct a viewport.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end(IFPainter painter) |
Rectangle |
getClipRect() |
Dimension |
getSize() |
void |
start(IFPainter painter) |
String |
toString() |
getLayer, getTransformspublic Viewport(AffineTransform[] transforms, Dimension size, Rectangle clipRect)
transforms - an array of transformssize - a dimensionclipRect - a clip rectanglepublic Viewport(AffineTransform transform, Dimension size, Rectangle clipRect)
transform - a transformsize - a dimensionclipRect - a clip rectanglepublic Dimension getSize()
public Rectangle getClipRect()
public void start(IFPainter painter) throws IFException
start in class IFGraphicContext.Grouppainter - a painterIFException - in not caughtpublic void end(IFPainter painter) throws IFException
end in class IFGraphicContext.Grouppainter - a painterIFException - in not caughtpublic String toString()
toString in class IFGraphicContext.GroupCopyright © 2025 Apache Software Foundation. All rights reserved.