ScreenshotParams

data class ScreenshotParams(format: String?, quality: Int?)

Encoding options for a screenshot.

Constructors

ScreenshotParams
Link copied to clipboard
fun ScreenshotParams(format: String? = null, quality: Int? = null)

Properties

format
Link copied to clipboard
val format: String? = null
Image compression format (defaults to png).
quality
Link copied to clipboard
val quality: Int? = null
Compression quality from range 0..

Sources

jvm source
Link copied to clipboard