toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.canvas
/
CanvasRect
Canvas
Rect
sealed
external
interface
CanvasRect
(
source
)
Inheritors
CanvasRenderingContext2D
OffscreenCanvasRenderingContext2D
Members
Functions
clear
Rect
Link copied to clipboard
abstract
fun
clearRect
(
x
:
Double
,
y
:
Double
,
w
:
Double
,
h
:
Double
)
MDN Reference
fill
Rect
Link copied to clipboard
abstract
fun
fillRect
(
x
:
Double
,
y
:
Double
,
w
:
Double
,
h
:
Double
)
MDN Reference
stroke
Rect
Link copied to clipboard
abstract
fun
strokeRect
(
x
:
Double
,
y
:
Double
,
w
:
Double
,
h
:
Double
)
MDN Reference