New typedef syntax for Size

This commit is contained in:
Andreas Hocevar committed 2018-03-07 13:53:37 +01:00
1 parent 9ca2e4d01f
commit d324398b5b
2 files changed
+6 -7

No files matched your search

-7
View File
@@ -475,13 +475,6 @@ ol.RotationConstraintType;
ol.SelectFilterFunction;
/**
* An array of numbers representing a size: `[width, height]`.
* @typedef {Array.<number>}
*/
ol.Size;
/**
* @typedef {{
* snapped: {boolean},
+6
View File
@@ -45,6 +45,12 @@
* @api
*/
/**
* An array of numbers representing a size: `[width, height]`.
* @typedef {Array.<number>} Size
* @api
*/
/**
* An array representing an affine 2d transformation for use with
* {@link module:ol/transform} functions. The array has 6 elements.