AtlasCT.com
User Manual v5.0

LineStyle

This class defines a line style.

The line style has 3 properties, width (defines the line width), color (defines the line color) and alpha (defines the line transparency). 
The line style object is mainly used to define the style of shapes (Polygon, Polyline, Circle) pen.


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

Constructors

LineStyle

LineStyle(int width
string color
int alpha)

The LineStyle constructor; Creates a new LineStyle instance.

Parameters

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

Properties

width

int width

An integer that contains the line width. 

color

string color

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

alpha

int alpha

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

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