ColorGradient
Complete API reference for ColorGradient, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Vector
Component: no
public class ColorGradient
Constructors
| Signature | Description |
|---|---|
ColorGradient(Gradient) | Executes ColorGradient and returns after the underlying engine call finishes. |
ColorGradient() | Executes ColorGradient and returns after the underlying engine call finishes. |
Attributes
| Name | Type | Description |
|---|---|---|
instance | Gradient | Represents the instance value stored on this instance. Read or assign to update the property. |
Methods
| Signature | Returns | Description |
|---|---|---|
addPoint(float, Color) | ColorGradient.Point | Adds point to the collection. |
removePointAt(int) | void | Removes point at from the collection. |
pointAt(int) | Point | Performs the pointAt operation using the provided parameters (idx). |
clear() | void | Clears or resets the object's state. |
pointsCount() | int | Executes pointsCount and returns after the underlying engine call finishes. |
evaluate(float) | Color | Performs the evaluate operation using the provided parameters (location). |
toJson() | String | Executes toJson and returns after the underlying engine call finishes. |
fromJson(String) | ColorGradient | Performs the fromJson operation using the provided parameters (json). |
Static Methods
| Signature | Returns | Description |
|---|---|---|
genericInterface() | GenericClassInspectorEntry | Executes genericInterface and returns after the underlying engine call finishes. |
inspectorController() | ClassInspectorEntry | Executes inspectorController and returns after the underlying engine call finishes. |