public interface LinearGradient
The implementations and instances of this interface are provided by the image generator engine.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LinearGradient.LinearGradientStop
Represents a step of a linear gradient.
|
| Modifier and Type | Method and Description |
|---|---|
LinearGradient.LinearGradientStop[] |
getStops()
Gets the linear gradient's stops (color and position).
|
float |
getXEnd()
Gets the end point X-coordinate.
|
float |
getXStart()
Gets the start point X-coordinate.
|
float |
getYEnd()
Gets the start point Y-coordinate.
|
float |
getYStart()
Gets the start point Y-coordinate.
|
float getXStart()
float getYStart()
float getXEnd()
float getYEnd()
LinearGradient.LinearGradientStop[] getStops()