Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
Modifier and Type | Method and Description |
---|---|
static ArrayPattern |
ArrayPattern.fromOrEmpty(CanvasPatternItem... items)
This method creates new array instance with a variable number of
CanvasPatternItem arguments. |
static ArrayPattern |
ArrayPattern.fromOrEmpty(List<CanvasPatternItem> items)
Creates a java script array of patterns starting from list of patterns.
|
static ArrayPattern |
ArrayPattern.fromOrNull(CanvasPatternItem... items)
This method creates new array instance with a variable number of
CanvasPatternItem arguments. |
static ArrayPattern |
ArrayPattern.fromOrNull(List<CanvasPatternItem> items)
Creates a java script array of patterns starting from list of patterns.
|
protected ArrayPattern |
NativeObjectContainer.getValueOrArray(Key key,
CanvasPatternItem defaultValue)
Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a pattern. |