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 © 2022 Apache Software Foundation. All Rights Reserved.