| Constructor | Description |
|---|---|
UserAgentViewport(UserAgent userAgent) |
Constructs a new viewport for the specified user agent.
|
| Modifier and Type | Method | 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 ? 2018 Apache Software Foundation. All Rights Reserved.