org.apache.batik.bridge
public class UserAgentViewport extends Object implements Viewport
Constructor Summary | |
---|---|
UserAgentViewport(UserAgent userAgent)
Constructs a new viewport for the specified user agent. |
Method Summary | |
---|---|
float | getHeight()
Returns the height of this viewport. |
float | getWidth()
Returns the width of this viewport. |
Parameters: userAgent the user agent that defines the viewport