Interface IRectangle
- All Superinterfaces:
ICefObjectWrapper,ICefObjRef,IComponentMouseDragEventObject,IComponentMouseEventObject,IEditableObject,IOptionedMapObject<provided.mixedData.MixedDataDictionary>,IVisibleMapObject
- All Known Subinterfaces:
IRectangleWrapped
public interface IRectangle extends IVisibleMapObject, IEditableObject, IComponentMouseEventObject, IComponentMouseDragEventObject, IOptionedMapObject<provided.mixedData.MixedDataDictionary>
Represents an rectangle drawn on the map oriented along the latitude and longitude lines
This corresponds to a Javascript Google Maps google.maps.Rectangle object
- Author:
- swong
-
Method Summary
Modifier and Type Method Description ILatLngBoundsgetBounds()Get a COPY of the rectangle's boundsvoidsetBounds(ILatLngBounds bounds)Set the rectangle's boundsvoidsetRectangleEvent(RectangleEventType eventType, java.lang.Runnable eventFn)Set a RectangleEventType eventMethods inherited from interface provided.owlMaps.cefUtils.ICefObjectWrapper
addEvent, addEvent, call, callVoid, getCefId, getCefProperty, getWrappedCefObject, setCefPropertyMethods inherited from interface provided.owlMaps.mouse.IComponentMouseDragEventObject
setComponentMouseDragEventMethods inherited from interface provided.owlMaps.mouse.IComponentMouseEventObject
setComponentMouseEventMethods inherited from interface provided.owlMaps.general.IEditableObject
getEditable, setEditableMethods inherited from interface provided.owlMaps.general.IOptionedMapObject
setOptionsMethods inherited from interface provided.owlMaps.general.IVisibleMapObject
getVisible, setVisible
-
Method Details
-
getBounds
ILatLngBounds getBounds()Get a COPY of the rectangle's bounds- Returns:
- An ILatLngBounds object
-
setBounds
Set the rectangle's bounds- Parameters:
bounds- The new bounds as an ILatLngBounds object
-
setRectangleEvent
Set a RectangleEventType event- Parameters:
eventType- The type of event being seteventFn- The callback to use when the event is invoked.
-