RectangularBoundsKt

public final class RectangularBoundsKt


Summary

Public methods

static final @NonNull RectangularBounds

Builds a new RectangularBounds.

static final @NonNull RectangularBounds
rectangularBounds(@NonNull LatLng southwest, @NonNull LatLng northeast)

Builds a new RectangularBounds.

Public methods

rectangularBounds

public static final @NonNull RectangularBounds rectangularBounds(@NonNull LatLngBounds bounds)

Builds a new RectangularBounds.

Parameters
@NonNull LatLngBounds bounds

the latitude/longitude aligned rectangle to apply to the RectangularBounds

Returns
@NonNull RectangularBounds

the constructed RectangularBounds

rectangularBounds

public static final @NonNull RectangularBounds rectangularBounds(@NonNull LatLng southwest, @NonNull LatLng northeast)

Builds a new RectangularBounds.

Parameters
@NonNull LatLng southwest

the southwest corner of the RectangularBounds, specified by its latitude-longitude coordinates

@NonNull LatLng northeast

the northeast corner of the RectangularBounds, specified by its latitude-longitude coordinates

Returns
@NonNull RectangularBounds

the constructed RectangularBounds