public class UserAgentViewport extends Object implements Viewport
UserAgent.| Constructor and Description |
|---|
UserAgentViewport(UserAgent userAgent)
Constructs a new viewport for the specified user agent.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getHeight()
Returns the height of this viewport.
|
float |
getWidth()
Returns the width of this viewport.
|
public UserAgentViewport(UserAgent userAgent)
userAgent - the user agent that defines the viewportCopyright © 2000–2024 Apache Software Foundation. All rights reserved.