Offscreen drawImage with Specified width and height? #1804
awaissahmed80
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to draw an image on Offscreen canvas
const offscreen = Skia.Surface.MakeOffscreen(1000, 1000); const canvas = offscreen.getCanvas(); canvas2.drawImage(image, 0, 0) // x and y
I want to specify width and height along with left and top position while drawing image on canvas.
Thanks,
Awais
Beta Was this translation helpful? Give feedback.
All reactions