toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.canvas
/
CanvasTransform
Canvas
Transform
sealed
external
interface
CanvasTransform
(
source
)
Inheritors
CanvasRenderingContext2D
OffscreenCanvasRenderingContext2D
Members
Functions
get
Transform
Link copied to clipboard
abstract
fun
getTransform
(
)
:
DOMMatrix
MDN Reference
reset
Transform
Link copied to clipboard
abstract
fun
resetTransform
(
)
MDN Reference
rotate
Link copied to clipboard
abstract
fun
rotate
(
angle
:
Double
)
MDN Reference
scale
Link copied to clipboard
abstract
fun
scale
(
x
:
Double
,
y
:
Double
)
MDN Reference
set
Transform
Link copied to clipboard
abstract
fun
setTransform
(
transform
:
DOMMatrix2DInit
=
definedExternally
)
abstract
fun
setTransform
(
transform
:
DOMMatrixReadOnly
)
abstract
fun
setTransform
(
a
:
Double
,
b
:
Double
,
c
:
Double
,
d
:
Double
,
e
:
Double
,
f
:
Double
)
MDN Reference
transform
Link copied to clipboard
abstract
fun
transform
(
a
:
Double
,
b
:
Double
,
c
:
Double
,
d
:
Double
,
e
:
Double
,
f
:
Double
)
MDN Reference
translate
Link copied to clipboard
abstract
fun
translate
(
x
:
Double
,
y
:
Double
)
MDN Reference