Move ol.render.canvas.Instruction to its own file

This commit is contained in:
Tim Schaub
2016-08-31 06:38:30 -06:00
parent 74047e747d
commit d1d3e6a37a
2 changed files with 21 additions and 20 deletions

View File

@@ -22,30 +22,11 @@ goog.require('ol.obj');
goog.require('ol.render.ReplayGroup');
goog.require('ol.render.VectorContext');
goog.require('ol.render.canvas');
goog.require('ol.render.canvas.Instruction');
goog.require('ol.render.replay');
goog.require('ol.transform');
/**
* @enum {number}
*/
ol.render.canvas.Instruction = {
BEGIN_GEOMETRY: 0,
BEGIN_PATH: 1,
CIRCLE: 2,
CLOSE_PATH: 3,
DRAW_IMAGE: 4,
DRAW_TEXT: 5,
END_GEOMETRY: 6,
FILL: 7,
MOVE_TO_LINE_TO: 8,
SET_FILL_STYLE: 9,
SET_STROKE_STYLE: 10,
SET_TEXT_STYLE: 11,
STROKE: 12
};
/**
* @constructor
* @extends {ol.render.VectorContext}