Constructor
new PolygonStyle(options)
Parameters:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | See below the available values.
Properties
|
- Source:
Members
(static) TYPE
List of available type for the polygon style.
Properties:
| Name | Type | Description |
|---|---|---|
DASH |
||
PLANE |
||
DOT |
||
DOT_DASH |
- Source:
(protected) borderColor :Object
Border color.
Type:
- Object
- Source:
(protected) borderType :String
Border type.
Type:
- String
- Source:
(protected) borderWidth :int
Border width.
Type:
- int
- Source:
(protected) fillColor :Object
Fill color.
Type:
- Object
- Source:
(protected) native :Object
Type:
- Object
- Source:
Methods
getBorderColor() → {bemap.Color}
Return the bemap.Color which set the border color of the polygon.
- Source:
Returns:
Return the Bemap.Color which set the border color of the polygon.
- Type
- bemap.Color
getBorderType() → {String}
Get the border type of the polygon style.
- Source:
Returns:
the border type of the polygon.
- Type
- String
getBorderWidth() → {int}
Return the border width of the polygon.
Returns:
Return the border width of the polygon.
- Type
- int
getFillColor() → {bemap.Color}
Return the bemap.Color which set the fill color of the polygon.
- Source:
Returns:
Return the Bemap.Color which set the fill color of the polygon.
- Type
- bemap.Color
setBorderColor(Color) → {bemap.PolygonStyle}
Set the bemap.Color which set the border color of the polygon.
Parameters:
| Name | Type | Description |
|---|---|---|
Color |
bemap.Color | the new bemap.Color to set the border color. |
Returns:
Return this.
- Type
- bemap.PolygonStyle
setBorderType(type) → {bemap.PolygonStyle}
Set the border type of the polygon.
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | the new border type to set. |
Returns:
return this.
- Type
- bemap.PolygonStyle
setBorderWidth(width) → {bemap.PolygonStyle}
Set the border width of the polygon.
Parameters:
| Name | Type | Description |
|---|---|---|
width |
double | the new border width of the polygon to set. |
Returns:
Return this.
- Type
- bemap.PolygonStyle
setFillColor(fillColor) → {bemap.PolygonStyle}
Set the bemap.Color which set the fill color of the polygon.
Parameters:
| Name | Type | Description |
|---|---|---|
fillColor |
bemap.Color | the new bemap.Color to set the fill color. |
- Source:
Returns:
Return this.
- Type
- bemap.PolygonStyle