docs: fix Point's trunc method docs (#5987)

This commit is contained in:
Andrew 2018-01-08 16:23:11 +01:00 committed by Iván Sánchez Ortega
parent bf3b6a3b1a
commit 9fb0df7f04

View File

@ -145,7 +145,7 @@ Point.prototype = {
return this;
},
// @method ceil(): Point
// @method trunc(): Point
// Returns a copy of the current point with truncated coordinates (rounded towards zero).
trunc: function () {
return this.clone()._trunc();