offsetNumber
(default: 7)
Specifies the offset in pixels from the target position at which the tooltip should be shown.
Example
<div id="surface"></div>
<script>
var draw = kendo.drawing;
var geom = kendo.geometry;
var surface = draw.Surface.create($("#surface"));
var rect = new draw.Rect(new geom.Rect([30, 30], [60, 30]), {
fill: { color: "teal" },
tooltip: {
content: "Tooltip with custom offset",
offset: 20
}
});
surface.draw(rect);
</script>
In this article