Package | Description |
---|---|
com.google.gwt.canvas.dom.client |
Classes for HTML Canvas 2D support.
|
Modifier and Type | Method and Description |
---|---|
static Context2d.Repetition |
Context2d.Repetition.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Context2d.Repetition[] |
Context2d.Repetition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CanvasPattern |
Context2d.createPattern(CanvasElement image,
Context2d.Repetition repetition)
Creates a pattern from another canvas.
|
CanvasPattern |
Context2d.createPattern(ImageElement image,
Context2d.Repetition repetition)
Creates a pattern from an image.
|