drawCanvas
Draws the canvas element with an Image. Triggers the imageRendered
event.
Parameters
image Object
The Image instance
Example
<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor();
var imageEditor = $("#imageEditor").data("kendoImageEditor");
imageEditor.drawImage("https://demos.telerik.com/kendo-ui/content/shared/images/photos/2.jpg").done(function (image) {
imageEditor.drawCanvas(image);
}).fail(function (ev) {
alert("Something went wrong!");
});
</script>