draw_image
Draws an image at native size.
Signature
draw_image
Draws an image at native size.Signature
draw_image(image: Image, x: int, y: int) -> NoneParameters
| Name | Type | Default | Description |
|---|---|---|---|
image | Image | None | image argument for this API call. |
x | int | None | x argument for this API call. |
y | int | None | y argument for this API call. |
Returns
NoneExample
from conjure import *
init_window(360, 640, "Images")
sprite = load_image("player.png")
draw_image(sprite, 120, 220)See also
load_imageunload_imagedraw_image_ex
Return to the images overview or continue with the quickstart.