package ol.style;

import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;

import ol.Options;
import ol.color.Color;

/**
 * Options for the style {@link Stroke}.
 *
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface StrokeOptions extends Options {

    /**
     * Set the stroke color.
     *
     * @param color {@link Color}
     */
    @JsProperty
    public void setColor(Color color);

    /**
     * Set the stroke width.
     *
     * @param width width
     */
    @JsProperty
    public void setWidth(int width);

    /**
     * Set the Line cap style: butt, round, or square. Default is round.
     *
     * @param lineCap
     *            lineCap
     */
    @JsProperty
    public void setLineCap(String lineCap);

    /**
     * Set the Line join style: bevel, round, or miter. Default is round.
     *
     * @param lineJoin
     *           lineJoin
     */
    @JsProperty
    public void setLineJoin(String lineJoin);

    /**
     * Set the Line dash pattern. Default is undefined (no dash).
     *
     * @param lineDash
     *           int[]
     */
    @JsProperty
    public void setLineDash(int[] lineDash);

    /**
     * Set the Miter limit. Default is 10.
     *
     * @param miterLimit
     *           int
     */
    @JsProperty
    public void setMiterLimit(int miterLimit);

}

@@ -8,24 +8,64 @@
  ol.style;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import jsint
@@ -93,16 +93,16 @@
 operty;%0A
-
 import j
@@ -283,26 +283,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Str
@@ -359,14 +359,17 @@
 ons 
-extend
+implement
 s Op
@@ -482,32 +482,39 @@
 erty%0A    public 
+native 
 void setColor(Co
@@ -623,32 +623,39 @@
 erty%0A    public 
+native 
 void setWidth(in
@@ -828,32 +828,39 @@
 erty%0A    public 
+native 
 void setLineCap(
@@ -1042,32 +1042,39 @@
 erty%0A    public 
+native 
 void setLineJoin
@@ -1247,32 +1247,39 @@
 erty%0A    public 
+native 
 void setLineDash
@@ -1417,32 +1417,32 @@
     @JsProperty%0A
-
     public void 
@@ -1436,16 +1436,23 @@
  public 
+native 
 void set

Convert StrokeOptions interface to class