Move ol.CanvasFillStrokeState to ol/render/canvas

This commit is contained in:
Michael Kuenzli
2018-04-18 14:02:46 +02:00
parent 223ef34898
commit 113785f048
3 changed files with 31 additions and 31 deletions

View File

@@ -13,6 +13,28 @@ import {create as createTransform} from '../transform.js';
*/
/**
* @typedef {Object} FillStrokeState
* @property {module:ol/colorlike~ColorLike} [currentFillStyle]
* @property {module:ol/colorlike~ColorLike} [currentStrokeStyle]
* @property string{} [currentLineCap]
* @property {Array.<number>} currentLineDash
* @property {number} [currentLineDashOffset]
* @property {string} [currentLineJoin]
* @property {number} [currentLineWidth]
* @property {number} [currentMiterLimit]
* @property {number} [lastStroke]
* @property {module:ol/colorlike~ColorLike} [fillStyle]
* @property {module:ol/colorlike~ColorLike} [strokeStyle]
* @property {string} [lineCap]
* @property {Array.<number>} lineDash
* @property {number} [lineDashOffset]
* @property {string} [lineJoin]
* @property {number} [lineWidth]
* @property {number} [miterLimit]
*/
/**
* @const
* @type {string}