From 88e98cbc6b53b148eec2dc379a101d100d6a84a9 Mon Sep 17 00:00:00 2001 From: jansule Date: Mon, 6 Aug 2018 08:55:06 +0200 Subject: [PATCH] add-lineDashOffset-type --- types/openlayers/index.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/types/openlayers/index.d.ts b/types/openlayers/index.d.ts index a6122c8477..01d7e120f5 100644 --- a/types/openlayers/index.d.ts +++ b/types/openlayers/index.d.ts @@ -9,6 +9,7 @@ // Yair Tawil // Pierre Marchand // Hauke Stieler +// Jan Suleiman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Definitions partially generated using tsd-jsdoc (https://github.com/englercj/tsd-jsdoc) @@ -10135,6 +10136,13 @@ export namespace style { */ getLineDash(): number[]; + /** + * Get the line dash offset style for the stroke. + * @return Line dash offset + * @api + */ + getLineDashOffset(): number; + /** * Get the line join type for the stroke. * @return Line join. @@ -10186,6 +10194,14 @@ export namespace style { */ setLineDash(lineDash: number[]): void; + /** + * Set the line dash offset. + * + * @param lineDashOffset Line dash offset. + * @api + */ + setLineDashOffset(lineDashOffset: number): void; + /** * Set the line join. * @@ -12347,6 +12363,7 @@ export namespace olx { lineCap?: string; lineJoin?: string; lineDash?: number[]; + lineDashOffset?: number; miterLimit?: number; width?: number; }