com.google.gwt.canvas.dom.client
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.
Method Summary |
int |
getType()
Returns the type of this FillStrokeStyle as an integer. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TYPE_CSSCOLOR
public static final int TYPE_CSSCOLOR
- Constant for CssColor style.
- See Also:
- Constant Field Values
TYPE_GRADIENT
public static final int TYPE_GRADIENT
- Constant for Gradient style.
- See Also:
- Constant Field Values
TYPE_PATTERN
public static final int TYPE_PATTERN
- Constant for Pattern style.
- See Also:
- Constant Field Values
FillStrokeStyle
protected FillStrokeStyle()
getType
public final int getType()
- Returns the type of this FillStrokeStyle as an integer.
- Returns:
- The type of the object.