Icons
Geocode
LBS
Search
Route
Points
Miscellaneous
Index

BrushStyle

This class defines a brush style.

The brush style has 2 properties, color (defines the brush color) and alpha (defines the brush transparency). 
The brush style object is mainly used to define the style of shapes (Polygon, Circle) fill.


Summary
This class defines a brush style.
The BrushStyle constructor; Creates a new BrushStyle instance.
A string that contains the brush color (In hex format: XXXXXX).
An integer that contains the brush transparency.

Constructors

BrushStyle

BrushStyle(string color
int alpha)

The BrushStyle constructor; Creates a new BrushStyle instance.

Parameters

colorThe brush color (In hex format: XXXXXX).
alphaThe alpha value (0 - 100). sets the line transparency, while ‘0’ value sets the brush to be invisible.

Properties

color

string color

A string that contains the brush color (In hex format: XXXXXX). 

alpha

int alpha

An integer that contains the brush transparency. the alpha range value is between 0 to 100, while ‘0’ value means that the brush is invisible. 

BrushStyle(string color
int alpha)
The BrushStyle constructor; Creates a new BrushStyle instance.
Inheritance: Shape > Poly > Polygon
Inheritance: Shape > Circle