Move ol.render.canvas.Instruction to its own file
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user