setY

Sets the y coordinate to a new value.

Parameters

value Number

The new y coordinate value.

Returns

kendo.geometry.Point The current Point instance.

Example

<script>
var geom = kendo.geometry;
var point = new geom.Point(10, 20);

console.log("Before setY:", point.toString()); // outputs: "10 20"
point.setY(60);
console.log("After setY:", point.toString()); // outputs: "10 60"
</script>
In this article
setY
Not finding the help you need?
Contact Support