Uses of Class
org.pepstock.charba.client.commons.ArrayGradient
-
Packages that use ArrayGradient Package Description org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code. -
-
Uses of ArrayGradient in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return ArrayGradient Modifier and Type Method Description static ArrayGradient
ArrayGradient. fromOrEmpty(List<CanvasGradientItem> items)
Creates a java script array of gradients starting from list of gradients.static ArrayGradient
ArrayGradient. fromOrEmpty(CanvasGradientItem... items)
This method creates new array instance with a variable number ofCanvasGradientItem
arguments.static ArrayGradient
ArrayGradient. fromOrNull(List<CanvasGradientItem> items)
Creates a java script array of gradients starting from list of gradients.static ArrayGradient
ArrayGradient. fromOrNull(CanvasGradientItem... items)
This method creates new array instance with a variable number ofCanvasGradientItem
arguments.protected ArrayGradient
NativeObjectContainer. getValueOrArray(Key key, CanvasGradientItem 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 gradient.
-