Chrome Reactive Kotlin
/
pl.wendigo.chrome.api.page
/
Viewport
Viewport
data class
Viewport
(x:
Double
, y:
Double
, width:
Double
, height:
Double
, scale:
Double
)
Content copied to clipboard
Viewport for capturing screenshot.
Constructors
Properties
Sources
Constructors
Viewport
Link copied to clipboard
fun
Viewport
(x:
Double
, y:
Double
, width:
Double
, height:
Double
, scale:
Double
)
Content copied to clipboard
Properties
height
Link copied to clipboard
val
height
:
Double
Content copied to clipboard
Rectangle height in device independent pixels (dip).
scale
Link copied to clipboard
val
scale
:
Double
Content copied to clipboard
Page scale factor.
width
Link copied to clipboard
val
width
:
Double
Content copied to clipboard
Rectangle width in device independent pixels (dip).
x
Link copied to clipboard
val
x
:
Double
Content copied to clipboard
X offset in device independent pixels (dip).
y
Link copied to clipboard
val
y
:
Double
Content copied to clipboard
Y offset in device independent pixels (dip).
Sources
jvm source
Link copied to clipboard