Interface HasStyle
- All Known Implementing Classes:
Circle,CircleMarker,FeatureGroup,MarkerClusterGroup,MultiPolygon,MultiPolyline,Path,Polygon,Polyline,Rectangle
public interface HasStyle
Common interface of the leaflet layers which have style.
- Since:
- 2020-03-12
- Version:
- 1.0
- Author:
- Gabor Kokeny Email: kokeny19@gmail.com
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetStyle()Returns the current path style options applied to this layer.voidsetStyle(PathOptions pathOptions) Changes the appearance of this layer by applying the given path style options.
-
Method Details
-
getStyle
PathOptions getStyle()Returns the current path style options applied to this layer.- Returns:
- the current style options
-
setStyle
Changes the appearance of this layer by applying the given path style options.- Parameters:
pathOptions- the style options to apply
-