Package | Description |
---|---|
org.pepstock.charba.client.colors |
Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns
for charts.
|
org.pepstock.charba.client.dom.elements |
Contains a set of DOM elements that Charba is using.
|
org.pepstock.charba.client.dom.enums |
Contains enumerations used inside the DOM tree to set properties or invokes methods of elements or items.
|
org.pepstock.charba.client.utils |
Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.
|
Modifier and Type | Method and Description |
---|---|
Repetition |
Pattern.getRepetition()
Returns the repetition to use in the pattern.
|
Modifier and Type | Method and Description |
---|---|
static PatternBuilder |
PatternBuilder.create(Img image,
Repetition repetition)
Creates the object using an image to use in the pattern and repetition to apply to pattern.
|
Modifier and Type | Method and Description |
---|---|
CanvasPatternItem |
Context2dItem.createPattern(Canvas canvas,
Repetition repetition)
Creates a pattern using the specified canvas and repetition.
|
CanvasPatternItem |
Context2dItem.createPattern(Img image,
Repetition repetition)
Creates a pattern using the specified image and repetition.
|
Modifier and Type | Method and Description |
---|---|
static Repetition |
Repetition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Repetition[] |
Repetition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utilities.toCSSBackgroundProperty(String dataUrl,
Repetition repetition)
Returns a URL CSS property for the data URL for the current content of the canvas element.
|