max
Returns a new Point with the maximum x and y coordinates of all Point arguments.
Returns
kendo.geometry.Point
A new Point instance.
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.max(point1, point2, point3);
console.log(maxPoint.toString()); // outputs: "15 30"
</script>
In this article