public class RadialGradient extends Gradient
RadialGradient color for chart objects.| Constructor and Description |
|---|
RadialGradient() |
| Modifier and Type | Method and Description |
|---|---|
protected ColorReference |
copy() |
Number |
getCx() |
Number |
getCy() |
Number |
getR() |
com.googlecode.wickedcharts.highcharts.options.color.RadialGradient.RadialGradientCoordinates |
getRadialGradient() |
RadialGradient |
setCx(Number cx)
Sets the horizontal coordinate of the center of the gradient.
|
RadialGradient |
setCy(Number cy)
Sets the vertical coordinate of the center of the gradient.
|
RadialGradient |
setR(Number r)
Sets the radius (= size) of the gradient.
|
addStop, addStopsInternal, brighten, getStopsgetBrightness, isNull, setBrightnessprotected ColorReference copy()
copy in class ColorReferencepublic Number getCx()
public Number getCy()
public Number getR()
public com.googlecode.wickedcharts.highcharts.options.color.RadialGradient.RadialGradientCoordinates getRadialGradient()
public RadialGradient setCx(Number cx)
cx - percentage of the width where to display the center of the
gradient. Must be a value between 0 and 1. 0 = left. 1 = right.RadialGradient object for chaining.public RadialGradient setCy(Number cy)
cx - percentage of the heigth where to display the center of the
gradient. Must be a value between 0 and 1. 0 = top. 1 = bottom.RadialGradient object for chaining.public RadialGradient setR(Number r)
r - percentage of the size of the object containing the gradient. Must
be a value between 0 and 1. 0 = small. 1 = spans the whole object.RadialGradient object for chaining.Copyright © 2013. All Rights Reserved.