Add AtlasManagerOptions and improve docs

This commit is contained in:
tsauerwein
2014-11-07 11:12:32 +01:00
parent ebe0c6a88c
commit fe3cdd8d1b
3 changed files with 89 additions and 47 deletions
+33
View File
@@ -6101,3 +6101,36 @@ olx.ViewState.prototype.resolution;
* @api
*/
olx.ViewState.prototype.rotation;
/**
* @typedef {{size: (number|undefined),
* maxSize: (number|undefined),
* space: (number|undefined)}}
* @api
*/
olx.style.AtlasManagerOptions;
/**
* The size in pixels of the first atlas image (default: 256).
* @type {number|undefined}
* @api
*/
olx.style.AtlasManagerOptions.prototype.size;
/**
* The maximum size in pixels of atlas images (default: 2048).
* @type {number|undefined}
* @api
*/
olx.style.AtlasManagerOptions.prototype.maxSize;
/**
* The space in pixels between images (default: 1).
* @type {number|undefined}
* @api
*/
olx.style.AtlasManagerOptions.prototype.space;