DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js canvas draw image
ctx
.
drawImage
(
image
,
x
,
y
)
// top left coords
ctx
.
drawImage
(
image
,
x
,
y
,
width
,
height
)
// scaled
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#canvas
#draw
#image
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit