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 Details

    • getBounds

      ILatLngBounds getBounds()
      Get a COPY of the rectangle's bounds
      Returns:
      An ILatLngBounds object
    • setBounds

      void setBounds​(ILatLngBounds bounds)
      Set the rectangle's bounds
      Parameters:
      bounds - The new bounds as an ILatLngBounds object
    • setRectangleEvent

      void setRectangleEvent​(RectangleEventType eventType, java.lang.Runnable eventFn)
      Set a RectangleEventType event
      Parameters:
      eventType - The type of event being set
      eventFn - The callback to use when the event is invoked.