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