getX

Gets the x coordinate value.

Returns

Number The current x coordinate value.

Example

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

var xValue = point.getX();
console.log("X coordinate:", xValue); // outputs: X coordinate: 10
</script>
In this article
getX
Not finding the help you need?
Contact Support