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

kendo.drawing.Text : kendo.drawing.Element

Draws a single line of text at the given position.

Example - creating a text

Example
View Source
<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var position = new geom.Point(10, 10);
    var text = new draw.Text("Foo", position);

    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);
</script>
Constructor Parameters
constructor parameters
content
constructor parameters
position
constructor parameters
options
Configuration
configuration
clip
configuration
cursor
configuration
fill
configuration
font
configuration
opacity
configuration
stroke
configuration
tooltip
configuration
transform
configuration
visible
Methods
methods
bbox
methods
clip
methods
content
methods
fill
methods
opacity
methods
position
methods
stroke
methods
transform
methods
visible
Not finding the help you need?
Contact Support