public class PolygonStyle extends PolylineStyle
| Constructor and Description |
|---|
PolygonStyle() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getFill() |
java.lang.String |
getFillColor() |
java.lang.Double |
getFillOpacity() |
java.lang.Boolean |
getStroke() |
PolygonStyle |
setDashArray(java.lang.String dashArray)
Sets the stroke dash-pattern.
|
PolygonStyle |
setFill(java.lang.Boolean fill)
Set whether to fill the path with color.
|
PolygonStyle |
setFillColor(java.lang.String fillColor)
Set fill color.
|
PolygonStyle |
setFillOpacity(java.lang.Double fillOpacity)
Set fill opacity.
|
PolygonStyle |
setLineCap(java.lang.String lineCap)
Sets shape to be used at the end of the stroke.
|
PolygonStyle |
setLineJoin(java.lang.String lineJoin)
Sets shape to be used at the corners of the stroke.
|
PolygonStyle |
setStroke(java.lang.Boolean stroke)
Set whether to draw stroke along the path.
|
PolygonStyle |
setStrokeColor(java.lang.String strokeColor)
Sets stroke color.
|
PolygonStyle |
setStrokeOpacity(java.lang.Double strokeOpacity)
Sets stroke opacity.
|
PolygonStyle |
setStrokeWeight(java.lang.Integer strokeWeight)
Sets stroke width in pixels.
|
getDashArray, getLineCap, getLineJoin, getStrokeColor, getStrokeOpacity, getStrokeWeightpublic java.lang.Boolean getStroke()
public PolygonStyle setStroke(java.lang.Boolean stroke)
false.stroke - PolygonStyle on which this method was called. Useful for a fluent API.public java.lang.Boolean getFill()
public PolygonStyle setFill(java.lang.Boolean fill)
false.fill - PolygonStyle on which this method was called. Useful for a fluent API.public java.lang.String getFillColor()
public PolygonStyle setFillColor(java.lang.String fillColor)
fillColor - String representation of the rgb codePolygonStyle on which this method was called. Useful for a fluent API.public java.lang.Double getFillOpacity()
public PolygonStyle setFillOpacity(java.lang.Double fillOpacity)
fillOpacity - double value in the range between 0.0 (fully transparent) to 1.0 (fully opaque)PolygonStyle on which this method was called. Useful for a fluent API.public PolygonStyle setStrokeColor(java.lang.String strokeColor)
PolylineStylesetStrokeColor in class PolylineStylestrokeColor - String representation of the rgb codePolylineStyle on which this method was called. Useful for a fluent API.public PolygonStyle setStrokeOpacity(java.lang.Double strokeOpacity)
PolylineStylesetStrokeOpacity in class PolylineStylestrokeOpacity - double value in the range between 0.0 (fully transparent) to 1.0 (fully opaque)PolylineStyle on which this method was called. Useful for a fluent API.public PolygonStyle setStrokeWeight(java.lang.Integer strokeWeight)
PolylineStylesetStrokeWeight in class PolylineStylePolylineStyle on which this method was called. Useful for a fluent API.public PolygonStyle setDashArray(java.lang.String dashArray)
PolylineStyleFor more information about the pattern see link.
setDashArray in class PolylineStylePolylineStyle on which this method was called. Useful for a fluent API.public PolygonStyle setLineCap(java.lang.String lineCap)
PolylineStyleFor more information about the options see link.
setLineCap in class PolylineStylePolylineStyle on which this method was called. Useful for a fluent API.public PolygonStyle setLineJoin(java.lang.String lineJoin)
PolylineStyleFor more information about the options see link.
setLineJoin in class PolylineStylePolylineStyle on which this method was called. Useful for a fluent API.