public abstract class Gradient extends ColorReference
| Constructor and Description |
|---|
Gradient() |
| Modifier and Type | Method and Description |
|---|---|
Gradient |
addStop(Number percentage,
ColorReference color) |
protected Gradient |
addStopsInternal(List<List<Object>> stops) |
ColorReference |
brighten(Float brightness)
Brightens this color by the amount given.
|
List<List<Object>> |
getStops() |
copy, getBrightness, isNull, setBrightnesspublic Gradient addStop(Number percentage, ColorReference color)
public ColorReference brighten(Float brightness)
ColorReferencebrighten in class ColorReferencebrightness - the amount to brighten (between 0 and 1).Copyright © 2013. All Rights Reserved.