com.googlecode.wickedcharts.highcharts.options.color
Class Gradient
java.lang.Object
com.googlecode.wickedcharts.highcharts.options.color.ColorReference
com.googlecode.wickedcharts.highcharts.options.color.Gradient
- All Implemented Interfaces:
- Nullable, Serializable
- Direct Known Subclasses:
- LinearGradient, RadialGradient
public abstract class Gradient
- extends ColorReference
Abstract parent class for Gradient ColorReferences.
- Author:
- Tom Hombergs (tom.hombergs@gmail.com)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gradient
public Gradient()
addStop
public Gradient addStop(Number percentage,
ColorReference color)
addStopsInternal
protected Gradient addStopsInternal(List<List<Object>> stops)
brighten
public ColorReference brighten(Float brightness)
- Description copied from class:
ColorReference
- Brightens this color by the amount given. Returns a copy of this color
object not this object itself.
- Overrides:
brighten in class ColorReference
- Parameters:
brightness - the amount to brighten (between 0 and 1).
- Returns:
- a copy of this color object, brightened by the given amount.
getStops
public List<List<Object>> getStops()
Copyright © 2013. All Rights Reserved.