public class

FillStrokeStyle

extends JavaScriptObject
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.canvas.dom.client.FillStrokeStyle
Known Direct Subclasses

Class Overview

Represents a CssColor, CanvasGradient, or CanvasPattern that is used for stroke and fill.

Experimental API: This API is still under development and is subject to change.

Summary

Constants
int TYPE_CSSCOLOR Constant for CssColor style.
int TYPE_GRADIENT Constant for Gradient style.
int TYPE_PATTERN Constant for Pattern style.
Protected Constructors
FillStrokeStyle()
Public Methods
final int getType()
Returns the type of this FillStrokeStyle as an integer.
[Expand]
Inherited Methods
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Constants

public static final int TYPE_CSSCOLOR

Constant for CssColor style.

Constant Value: 0 (0x00000000)

public static final int TYPE_GRADIENT

Constant for Gradient style.

Constant Value: 1 (0x00000001)

public static final int TYPE_PATTERN

Constant for Pattern style.

Constant Value: 2 (0x00000002)

Protected Constructors

protected FillStrokeStyle ()

Public Methods

public final int getType ()

Returns the type of this FillStrokeStyle as an integer.

Returns
  • The type of the object.