Package org.neshan.mapsdk.model
Class Circle
- java.lang.Object
-
- org.neshan.mapsdk.internal.elements.MapElement
-
- org.neshan.mapsdk.model.Circle
-
public class Circle extends org.neshan.mapsdk.internal.elements.MapElement
A circle that can be drawn on aMapView
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.carto.vectorelements.VectorElement
getRealElement()
java.util.UUID
getUuid()
unique auto generated identifier of this map elementorg.neshan.mapsdk.internal.elements.MapElement
setBaseProjection(com.carto.projections.Projection baseProjection)
-
-
-
Constructor Detail
-
Circle
public Circle(LatLng center, double radius, com.carto.graphics.Color color, com.carto.styles.LineStyle lineStyle)
- Parameters:
center
- where to draw the circleradius
- size of the circlecolor
- solid fill color of the circlelineStyle
- style of the outline stroke of the circle
-
Circle
public Circle(LatLng center, double radius, com.carto.styles.LineStyle lineStyle)
create a circle with transparent solid fill body- Parameters:
center
- where to draw the circleradius
- size of the circlelineStyle
- style of the outline stroke of the circle
-
-
Method Detail
-
setBaseProjection
public org.neshan.mapsdk.internal.elements.MapElement setBaseProjection(com.carto.projections.Projection baseProjection)
- Specified by:
setBaseProjection
in classorg.neshan.mapsdk.internal.elements.MapElement
-
getRealElement
public com.carto.vectorelements.VectorElement getRealElement() throws NullProjectionException
- Specified by:
getRealElement
in classorg.neshan.mapsdk.internal.elements.MapElement
- Throws:
NullProjectionException
-
getUuid
public java.util.UUID getUuid()
unique auto generated identifier of this map element- Overrides:
getUuid
in classorg.neshan.mapsdk.internal.elements.MapElement
- Returns:
-
-