Docstrings: 'x' and 'y' properties for L.Point, closes #5117
This commit is contained in:
parent
54d6fc24c1
commit
d89271b404
@ -19,7 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
L.Point = function (x, y, round) {
|
L.Point = function (x, y, round) {
|
||||||
|
// @property x: Number; The `x` coordinate of the point
|
||||||
this.x = (round ? Math.round(x) : x);
|
this.x = (round ? Math.round(x) : x);
|
||||||
|
// @property y: Number; The `y` coordinate of the point
|
||||||
this.y = (round ? Math.round(y) : y);
|
this.y = (round ? Math.round(y) : y);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user