public class RectangleOptions extends MapObject
Constructor and Description |
---|
RectangleOptions()
Creates new RectangleOptions object.
|
RectangleOptions(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LatLngBounds |
getBounds()
Returns value of bounds property.
|
boolean |
getClickable()
Returns value of clickable property.
|
boolean |
getDraggable()
Returns value of draggable property.
|
boolean |
getEditable()
Returns value of editable property.
|
java.lang.String |
getFillColor()
Returns value of fillColor property.
|
double |
getFillOpacity()
Returns value of fillOpacity property.
|
java.lang.String |
getStrokeColor()
Returns value of strokeColor property.
|
double |
getStrokeOpacity()
Returns value of strokeOpacity property.
|
StrokePosition |
getStrokePosition()
Returns value of strokePosition property.
|
double |
getStrokeWeight()
Returns value of strokeWeight property.
|
boolean |
getVisible()
Returns value of visible property
|
double |
getZIndex()
Returns value of zIndex property.
|
void |
setBounds(LatLngBounds value)
Sets new value for bounds property.
|
void |
setClickable(boolean value)
Sets new value for clickable property.
|
void |
setDraggable(boolean value)
Sets new value for draggable property.
|
void |
setEditable(boolean value)
Sets new value for editable property.
|
void |
setFillColor(java.lang.String value)
Sets new value for fillColor property.
|
void |
setFillOpacity(double value)
Sets new value for fillOpacity property.
|
void |
setStrokeColor(java.lang.String value)
Sets new value for strokeColor property.
|
void |
setStrokeOpacity(double value)
Sets new value for strokeOpacity property.
|
void |
setStrokePosition(StrokePosition value)
Sets new value for strokePosition property.
|
void |
setStrokeWeight(double value)
Sets new value for strokeWeight property.
|
void |
setVisible(boolean value)
Sets new value for visible property.
|
void |
setZIndex(double value)
Sets new value for zIndex property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public RectangleOptions()
@Deprecated public RectangleOptions(Map map)
map
- owner Map objectpublic boolean getClickable()
Indicates whether this Rectangle handles mouse events. Defaults to true.
setClickable(boolean)
public void setClickable(boolean value)
value
- new property valuegetClickable()
public boolean getDraggable()
If set to true, the user can drag this rectangle over the map. Defaults to false.
setDraggable(boolean)
public void setDraggable(boolean value)
value
- new property valuegetDraggable()
public boolean getEditable()
If set to true, the user can edit this rectangle by dragging the control points shown at the corners and on each edge. Defaults to false.
setEditable(boolean)
public void setEditable(boolean value)
value
- new property valuegetEditable()
public boolean getVisible()
Indicates whether this rectangle is visible on the map. Defaults to true.
setVisible(boolean)
public void setVisible(boolean value)
value
- new property valuegetVisible()
public java.lang.String getStrokeColor()
Contains the stroke color. All CSS3 colors are supported except for extended named colors.
setStrokeColor(java.lang.String)
public void setStrokeColor(java.lang.String value)
value
- new property valuegetStrokeColor()
public java.lang.String getFillColor()
Contains the fill color. All CSS3 colors are supported except for extended named colors.
setFillColor(java.lang.String)
public void setFillColor(java.lang.String value)
value
- new property valuegetFillColor()
public double getStrokeWeight()
Contains the stroke width in pixels.
setStrokeWeight(double)
public void setStrokeWeight(double value)
value
- new property valuegetStrokeWeight()
public double getStrokeOpacity()
Contains the stroke opacity between 0.0 and 1.0.
setStrokeOpacity(double)
public void setStrokeOpacity(double value)
value
- new property valuegetStrokeOpacity()
public double getFillOpacity()
Contains the fill opacity between 0.0 and 1.0.
setFillOpacity(double)
public void setFillOpacity(double value)
value
- new property valuegetFillOpacity()
public double getZIndex()
Contains the zIndex compared to other shapes.
setZIndex(double)
public void setZIndex(double value)
value
- new property valuegetZIndex()
public StrokePosition getStrokePosition()
Contains the stroke position. Defaults to CENTER.
setStrokePosition(com.teamdev.jxmaps.StrokePosition)
public void setStrokePosition(StrokePosition value)
value
- new property valuegetStrokePosition()
public LatLngBounds getBounds()
Contains the bounds of this shape.
setBounds(com.teamdev.jxmaps.LatLngBounds)
public void setBounds(LatLngBounds value)
value
- new property valuegetBounds()