public class HIGradient
extends java.lang.Object
| Constructor and Description |
|---|
HIGradient()
Default constructor.
|
HIGradient(float cx,
float cy,
float r)
Sets positions to the desired values.
|
HIGradient(float x1,
float y1,
float x2,
float y2)
Sets positions to the desired values.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getGradient() |
public HIGradient()
public HIGradient(float cx,
float cy,
float r)
cx - must be in [0..1] rangecy - must be in [0..1] ranger - must be in [0..1] rangejava.lang.IllegalArgumentException - if a param does not complypublic HIGradient(float x1,
float y1,
float x2,
float y2)
x1 - must be in [0..1] rangex2 - must be in [0..1] rangey1 - must be in [0..1] rangey2 - must be in [0..1] rangejava.lang.IllegalArgumentException - if a param does not comply