MSDN Library

VEColor Class

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 color and transparency to use when drawing VEShape Class objects on the map.

Constructor

Name Description

VEColor Constructor

Initializes a new instance of the VEColor object.

Public Properties

Name Description

VEColor.R Property

Specifies the red component value. Valid values range from 0 through 255.

VEColor.G Property

Specifies the green component value. Valid values range from 0 through 255.

VEColor.B Property

Specifies the blue component value. Valid values range from 0 through 255.

VEColor.A Property

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

Remarks

Color values are specified on a scale from 0 through 255, while transparency is specified on a scale from 0.0 (transparent) to 1.0 (opaque).

See Also

Show:
© 2016 Microsoft