public class CircleOptions
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CircleOptions() |
CircleOptions(boolean clickable,
boolean editable) |
CircleOptions(boolean clickable,
boolean editable,
java.lang.String fillColor,
java.lang.Double fillOpacity) |
Modifier and Type | Method and Description |
---|---|
GeoPoint |
getCenter()
Not used for drawing
|
java.lang.String |
getFillColor() |
java.lang.Double |
getFillOpacity() |
java.lang.Double |
getRadius()
Not used for drawing
|
java.lang.String |
getStrokeColor() |
java.lang.Double |
getStrokeOpacity() |
java.lang.Integer |
getStrokeWeight() |
java.lang.Integer |
getZIndex() |
boolean |
isClickable() |
boolean |
isEditable() |
void |
setCenter(GeoPoint center)
Not used for drawing
|
void |
setClickable(boolean clickable)
Flag defining whether newly created circle should handle click events.
|
void |
setEditable(boolean editable)
Sets whether newly created circle should be editable, which allows user to drag control points at center
of circle and on its circumference.
|
void |
setFillColor(java.lang.String fillColor)
Sets circle fill color.
|
void |
setFillOpacity(java.lang.Double fillOpacity)
Sets fill opacity.
|
void |
setRadius(java.lang.Double radius)
Not used for drawing
|
void |
setStrokeColor(java.lang.String strokeColor)
Sets stroke color.
|
void |
setStrokeOpacity(java.lang.Double strokeOpacity)
Sets stroke opacity.
|
void |
setStrokeWeight(java.lang.Integer strokeWeight)
Sets stroke weight in pixels.
|
void |
setZIndex(java.lang.Integer zIndex)
Sets circle z-index
|
public CircleOptions()
public CircleOptions(boolean clickable, boolean editable)
public CircleOptions(boolean clickable, boolean editable, java.lang.String fillColor, java.lang.Double fillOpacity)
public boolean isClickable()
public void setClickable(boolean clickable)
clickable
- true if circle should handle click eventspublic boolean isEditable()
public void setEditable(boolean editable)
editable
- true if circle should be editablepublic java.lang.String getFillColor()
public void setFillColor(java.lang.String fillColor)
fillColor
- fill color in any CSS3 format except extended name colors (aquamarine, chocolate etc)public java.lang.Double getFillOpacity()
public void setFillOpacity(java.lang.Double fillOpacity)
fillOpacity
- fill opacitypublic java.lang.String getStrokeColor()
public void setStrokeColor(java.lang.String strokeColor)
strokeColor
- stroke color in any CSS3 format except extended name colors (aquamarine, chocolate etc)public java.lang.Double getStrokeOpacity()
public void setStrokeOpacity(java.lang.Double strokeOpacity)
strokeOpacity
- public java.lang.Integer getStrokeWeight()
public void setStrokeWeight(java.lang.Integer strokeWeight)
strokeWeight
- stroke weight in pixelspublic java.lang.Integer getZIndex()
public void setZIndex(java.lang.Integer zIndex)
zIndex
- z-indexpublic GeoPoint getCenter()
public void setCenter(GeoPoint center)
center
- centerpublic java.lang.Double getRadius()
public void setRadius(java.lang.Double radius)
radius
- radius