Constructor
new LineStyle(options)
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | See below the available values.
Properties
|
- Source:
Members
(static) TYPE
List of available type for the line style.
Properties:
| Name | Type | Description |
|---|---|---|
DASH |
||
PLANE |
||
DOT |
||
DOT_DASH |
- Source:
(protected) color :Object
Type:
- Object
- Source:
(protected) native :Object
Type:
- Object
- Source:
(protected) type :String
Type:
- String
- Source:
(protected) width :int
Type:
- int
- Source:
Methods
getColor() → {bemap.Color}
Return the bemap.Color which set the color of the line.
- Source:
Returns:
Return the Bemap.Color which set the color of the line.
- Type
- bemap.Color
getType() → {String}
Get the type of the line style.
- Source:
Returns:
the type og the polyline.
- Type
- String
getWidth() → {int}
Return the width of the line.
- Source:
Returns:
Return the width of the line.
- Type
- int
setColor(Color) → {bemap.LineStyle}
Set the bemap.Color which set the color of the line.
Parameters:
| Name | Type | Description |
|---|---|---|
Color |
bemap.Color | the new bemap.Color to set. |
- Source:
Returns:
Return this.
- Type
- bemap.LineStyle
setType(type) → {bemap.LineStyle}
Set the type of the polyline.
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | the new type to set. |
- Source:
Returns:
return this.
- Type
- bemap.LineStyle
setWidth(width) → {bemap.LineStyle}
Set the width of the line.
Parameters:
| Name | Type | Description |
|---|---|---|
width |
double | the new width of the line to set. |
- Source:
Returns:
Return this.
- Type
- bemap.LineStyle