Convert ol.render.Event#get* methods into properties

This commit is contained in:
Tom Payne
2014-01-23 20:21:55 +01:00
parent 37351c530c
commit df0912bdd3
13 changed files with 42 additions and 60 deletions
+21
View File
@@ -51,3 +51,24 @@ oli.interaction.DragAndDropEvent.prototype.features;
/** @type {ol.proj.Projection} */
oli.interaction.DragAndDropEvent.prototype.projection;
/** @interface */
oli.render.Event = function() {};
/** @type {CanvasRenderingContext2D|null|undefined} */
oli.render.Event.prototype.context;
/** @type {ol.FrameState|undefined} */
oli.render.Event.prototype.frameState;
/** @type {ol.webgl.Context|null|undefined} */
oli.render.Event.prototype.glContext;
/** @type {ol.render.IRender|undefined} */
oli.render.Event.prototype.render;