New to Kendo UI for jQuery? Start a free 30-day trial
kendo.drawing.Image : kendo.drawing.Element
Draws a bitmap image with a given source URL into the specified rectangle.
Example - draw an image
<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
var draw = kendo.drawing;
var geom = kendo.geometry;
var rect = new geom.Rect(
[10, 10], // Position of the top left corner
[249, 240] // Size of the rectangle
);
var image = new draw.Image("https://goo.gl/6ov8Gw", rect);
var surface = draw.Surface.create($("#surface"));
surface.draw(image);
</script>
Constructor Parameters
Configuration
Methods
In this article