VEColor Constructor

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

Specifies the red, green, and blue colors, plus the level of transparency, for the VEColor object.

var x = new VEColor(r, g, b, a);

Parameters

Parameter Description

r

The red component value. Valid values range from 0 through 255.

g

The green component value. Valid values range from 0 through 255.

b

The blue component value. Valid values range from 0 through 255.

a

The alpha (transparency) component value. Valid values range from 0.0 through 1.0.

Remarks

VEColor objects are defined by the intensity of the red, green, and blue colors, plus the level of transparency.