Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-browser
/
web.css.painting
Package-level
declarations
Types
Functions
Properties
Types
Paint
Link copied to clipboard
web
interface
Paint
Paint
Name
Link copied to clipboard
web
sealed
interface
PaintName
Paint
Reference
Link copied to clipboard
web
open
class
PaintReference
Paint
Rendering
Context2D
Link copied to clipboard
web
class
PaintRenderingContext2D
:
CanvasState
,
CanvasTransform
,
CanvasCompositing
,
CanvasImageSmoothing
,
CanvasFillStrokeStyles
,
CanvasShadowStyles
,
CanvasRect
,
CanvasDrawPath
,
CanvasDrawImage
,
CanvasPathDrawingStyles
,
CanvasPath
MDN Reference
Paint
Rendering
Context2DSettings
Link copied to clipboard
web
interface
PaintRenderingContext2DSettings
Paint
Size
Link copied to clipboard
web
interface
PaintSize
Paint
Worklet
Global
Scope
Link copied to clipboard
web
class
PaintWorkletGlobalScope
:
WorkletGlobalScope
MDN Reference
Paint
Worklet
Module
Link copied to clipboard
web
sealed
interface
PaintWorkletModule
:
WorkletModule
Properties
paint
Worklet
Link copied to clipboard
web
external
val
paintWorklet
:
Worklet
<
PaintWorkletModule
>
MDN Reference
Functions
Paint
Name
Link copied to clipboard
web
inline
fun
PaintName
(
value
:
String
)
:
PaintName
Paint
Worklet
Module
Link copied to clipboard
web
fun
PaintWorkletModule
(
block
:
(
self
:
PaintWorkletGlobalScope
)
->
Unit
)
:
PaintWorkletModule
register
Paint
Link copied to clipboard
web
inline
fun
PaintWorkletGlobalScope
.
registerPaint
(
name
:
PaintName
,
reference
:
PaintReference
)
MDN Reference