maxPoint

Returns the Point with maximum x and y coordinates.

Returns

kendo.geometry.Point The Point with maximum x and y coordinates.

Example

<script>
var geom = kendo.geometry;
var point1 = new geom.Point(10, 20);
var point2 = new geom.Point(5, 30);
var point3 = new geom.Point(15, 10);

var maxPoint = geom.Point.maxPoint(point1, point2, point3);
console.log(maxPoint.toString()); // outputs: "15 30"
</script>
In this article
maxPoint
Not finding the help you need?
Contact Support