Packagecom.mapquest
Classpublic class ColorStyle
InheritanceColorStyle Inheritance MQType

Pen styles for Rectangle and Line primitives.



Public Methods
 MethodDefined by
  
ColorStyle(val:int = 0)
Constructs a new ColorStyle object.
ColorStyle
 Inherited
equals(type:*):Boolean
Checks the equality of the values of two MQType objects.
MQType
  
getClassName():String
Returns the text name of this class.
ColorStyle
  
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
Constructor detail
ColorStyle()constructor
public function ColorStyle(val:int = 0)

Constructs a new ColorStyle object.

Parameters
val:int (default = 0)
Method detail
getClassName()method
public override function getClassName():String

Returns the text name of this class.

Returns
String — The text name of this class.
getObjectVersion()method 
public function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
getRGB()method 
public function getRGB():int

Returns 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.

Returns
int — the RGB value representing this object.
intValue()method 
public override function intValue():int

Gets the integer value of this type.

Returns
int — The value of this type.