com.sygic.sdk.map.MapRectangle Class Reference
Inheritance diagram for com.sygic.sdk.map.MapRectangle:
Collaboration diagram for com.sygic.sdk.map.MapRectangle:

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

com.sygic.sdk.map.MapRectangle.MapRectangle ( @NonNull final GeoBoundingBox  boundingBox,
final int  marginLeftPx,
final int  marginTopPx,
final int  marginRightPx,
final int  marginBottomPx 
)
com.sygic.sdk.map.MapRectangle.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 
)

Member Function Documentation

int com.sygic.sdk.map.MapRectangle.describeContents ( )
boolean com.sygic.sdk.map.MapRectangle.isValid ( )
void com.sygic.sdk.map.MapRectangle.writeToParcel ( final Parcel  dest,
final int  flags 
)

Member Data Documentation

final Creator<MapRectangle> com.sygic.sdk.map.MapRectangle.CREATOR
static
Initial value:
= new Creator<MapRectangle>() {
@Override
public MapRectangle createFromParcel(Parcel in) {
return new MapRectangle(in);
}
@Override
public MapRectangle[] newArray(int size) {
return new MapRectangle[size];
}
}
final MapRectangle com.sygic.sdk.map.MapRectangle.INVALID
static
Initial value:
= new MapRectangle(new GeoBoundingBox(GeoCoordinates.Invalid, GeoCoordinates.Invalid),
0, 0, 0, 0)
final boolean com.sygic.sdk.map.MapRectangle.isAbsolute
final GeoBoundingBox com.sygic.sdk.map.MapRectangle.mBoundingBox
final RectF com.sygic.sdk.map.MapRectangle.mMarginRect

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