New to Kendo UI for jQueryStart a free 30-day trial

kendo.drawing.Path : kendo.drawing.Element

Represents a path consisting of linear or cubic Bézier curve segments.

Example - draw a path

Example
View Source
<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
    var draw = kendo.drawing;

    var path = new draw.Path()
        .moveTo(100, 200)
        .curveTo([100, 100], [250, 100], [250, 200])
        .lineTo(100, 200);

    var surface = draw.Surface.create($("#surface"));
    surface.draw(path);
</script>
Fields
fields
segments
Class Methods
class methods
fromArc
class methods
fromPoints
class methods
fromRect
class methods
parse
Constructor Parameters
constructor parameters
options
Configuration
configuration
clip
configuration
cursor
configuration
fill
configuration
opacity
configuration
stroke
configuration
tooltip
configuration
transform
configuration
visible
Methods
methods
bbox
methods
clip
methods
close
methods
curveTo
methods
fill
methods
lineTo
methods
moveTo
methods
opacity
methods
stroke
methods
transform
methods
visible
Not finding the help you need?
Contact Support