Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 503 Bytes

title: HTML5 canvas Image Tutorial

To create an image with Konva, we can instantiate a Konva.Image() object with image property.

For image property you can use:

  1. instance of window.Image or document.createElement('image')
  2. canvas element
  3. video element

For a full list of attributes and methods, check out the Konva.Image documentation.

{% iframe /downloads/code/shapes/Image.html %}

{% include_code Konva Image Demo shapes/Image.html %}

You can’t perform that action at this time.