| Package | com.google.maps.extras.gradients |
| Class | public class GradientControl |
| Inheritance | GradientControl ValueColorGradient Range |
| Method | Defined by | ||
|---|---|---|---|
|
GradientControl(flatGradientList:Array)
Class constructor
| GradientControl | ||
|
colorForValue(value:Number):Number
Find the gradient into whose range the specified value falls
and use it to calculate the color.
| GradientControl | ||
![]() |
containsValue(someValue:Number):Boolean
| ValueColorGradient | |
![]() |
getRgbColorDict():Object
| Range | |
![]() |
getValueDict():Object
| Range | |
![]() |
rgbColorDictString():String
String representation of the color ranges of this object
| Range | |
|
toString():String
Class constructor
| GradientControl | ||
| Method | Defined by | ||
|---|---|---|---|
|
flatGradientAt(i:int):ValueColorGradient
| GradientControl | ||
|
numFlatGradients():int
| GradientControl | ||
| GradientControl | () | constructor |
public function GradientControl(flatGradientList:Array)Class constructor
ParametersflatGradientList:Array — The list of gradients to use
|
| colorForValue | () | method |
public override function colorForValue(value:Number):NumberFind the gradient into whose range the specified value falls and use it to calculate the color.
Parametersvalue:Number — A number to translate into a color.
|
Number |
| flatGradientAt | () | method |
protected override function flatGradientAt(i:int):ValueColorGradientParameters
i:int |
ValueColorGradient |
| numFlatGradients | () | method |
protected override function numFlatGradients():int
Returns
int |
| toString | () | method |
public override function toString():StringClass constructor
ReturnsString |