| Package | com.mapquest |
| Class | public class ColorStyle |
| Inheritance | ColorStyle MQType |
| Method | Defined by | ||
|---|---|---|---|
|
ColorStyle(val:int = 0)
Constructs a new ColorStyle object.
| ColorStyle | ||
![]() |
equals(type:*):Boolean
Checks the equality of the values of two MQType objects.
| MQType | |
|
getClassName():String
Returns the text name of this class.
| ColorStyle | ||
|
getObjectVersion():Number
Returns the version of this class.
| ColorStyle | ||
|
getRGB():int
Returns the RGB value representing the color in the default sRGB
ColorModel.
| ColorStyle | ||
|
intValue():int
Gets the integer value of this type.
| ColorStyle | ||
| ColorStyle | () | constructor |
public function ColorStyle(val:int = 0)Constructs a new ColorStyle object.
Parametersval:int (default = 0) |
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getObjectVersion | () | method |
public function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| getRGB | () | method |
public function getRGB():intReturns the RGB value representing the color in the default sRGB ColorModel. (Bits 24-31 are alpha, 16-23 are red, 8-15 are green, 0-7 are blue). Alpha is defaulted to 255.
Returnsint — the RGB value representing this object.
|
| intValue | () | method |
public override function intValue():intGets the integer value of this type.
Returnsint — The value of this type.
|