Class Reference
Inheritance diagram for
Collaboration diagram for

Public Member Functions

 MapRectangle (@NonNull final GeoBoundingBox boundingBox, final int marginLeftPx, final int marginTopPx, final int marginRightPx, final int marginBottomPx)
 MapRectangle (@NonNull final GeoBoundingBox boundingBox,@FloatRange(from=0.0, to=1.0) final float marginLeftPerc,@FloatRange(from=0.0, to=1.0) final float marginTopPerc,@FloatRange(from=0.0, to=1.0) final float marginRightPerc,@FloatRange(from=0.0, to=1.0) final float marginBottomPerc)
boolean isValid ()
void writeToParcel (final Parcel dest, final int flags)
int describeContents ()
- Public Member Functions inherited from com.sygic.sdk.BaseNativeParcelable
boolean isValidParcelable ()

Public Attributes

final GeoBoundingBox mBoundingBox
final RectF mMarginRect
final boolean isAbsolute

Static Public Attributes

static final MapRectangle INVALID
static final Creator< MapRectangleCREATOR

Additional Inherited Members

- Protected Attributes inherited from com.sygic.sdk.BaseNativeParcelable
boolean mIsValidParcelable = true

Constructor & Destructor Documentation ( @NonNull final GeoBoundingBox  boundingBox,
final int  marginLeftPx,
final int  marginTopPx,
final int  marginRightPx,
final int  marginBottomPx 
) ( @NonNull final GeoBoundingBox  boundingBox,
@FloatRange(from=0.0, to=1.0) final float  marginLeftPerc,
@FloatRange(from=0.0, to=1.0) final float  marginTopPerc,
@FloatRange(from=0.0, to=1.0) final float  marginRightPerc,
@FloatRange(from=0.0, to=1.0) final float  marginBottomPerc 

Member Function Documentation

int ( )
boolean ( )
void ( final Parcel  dest,
final int  flags 

Member Data Documentation

final Creator<MapRectangle>
Initial value:
= new Creator<MapRectangle>() {
public MapRectangle createFromParcel(Parcel in) {
return new MapRectangle(in);
public MapRectangle[] newArray(int size) {
return new MapRectangle[size];
final MapRectangle
Initial value:
= new MapRectangle(new GeoBoundingBox(GeoCoordinates.Invalid, GeoCoordinates.Invalid),
0, 0, 0, 0)
final boolean
final GeoBoundingBox
final RectF

The documentation for this class was generated from the following file: