The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
IRenderingContext2D.drawImage
printed
canvas
irenderer
IRenderingContext2D
Draws an image at the given position.
void
drawImage
(Image image, float x, float y)
interface
IRenderingContext2D
void
drawImage
(
Image
image
,
float
x
,
float
y
)
void
drawImage
(Image image, float x, float y, float width, float height)
Meta
Source
See Implementation
printed
canvas
irenderer
IRenderingContext2D
functions
beginPath
closePath
drawImage
fill
fillAndStroke
fillRect
fillStyle
fillText
fontFace
fontSize
fontStyle
fontWeight
getLineDash
lineDashOffset
lineTo
lineWidth
measureText
newPage
pageHeight
pageWidth
restore
rotate
save
scale
setLineDash
stroke
strokeStyle
textAlign
textBaseline
translate
Draws an image at the given position.