Class FillStrokeStyle

java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.canvas.dom.client.FillStrokeStyle
Direct Known Subclasses:
CanvasGradient, CanvasPattern, CssColor

public class FillStrokeStyle extends JavaScriptObject
Represents a CssColor, CanvasGradient, or CanvasPattern that is used for stroke and fill.
  • Field Details

    • TYPE_CSSCOLOR

      public static final int TYPE_CSSCOLOR
      Constant for CssColor style.
      See Also:
    • TYPE_GRADIENT

      public static final int TYPE_GRADIENT
      Constant for Gradient style.
      See Also:
    • TYPE_PATTERN

      public static final int TYPE_PATTERN
      Constant for Pattern style.
      See Also:
  • Constructor Details

    • FillStrokeStyle

      protected FillStrokeStyle()
  • Method Details

    • getType

      public final int getType()
      Returns the type of this FillStrokeStyle as an integer.
      Returns:
      The type of the object.