Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-browser
/
web.css.painting
/
PaintWorkletGlobalScope
Paint
Worklet
Global
Scope
class
PaintWorkletGlobalScope
:
WorkletGlobalScope
(
source
)
MDN Reference
Members
Members & Extensions
Properties
device
Pixel
Ratio
Link copied to clipboard
val
devicePixelRatio
:
Double
MDN Reference
Functions
get
Link copied to clipboard
open
operator
fun
get
(
key
:
PropertyKey
)
:
JsAny
?
register
Paint
Link copied to clipboard
fun
registerPaint
(
name
:
PaintName
,
classRef
:
JsClass
<
Paint
>
)
MDN Reference
register
Paint
Link copied to clipboard
inline
fun
PaintWorkletGlobalScope
.
registerPaint
(
name
:
PaintName
,
reference
:
PaintReference
)
MDN Reference
set
Link copied to clipboard
open
operator
fun
set
(
key
:
PropertyKey
,
value
:
JsAny
?
)