com.sygic.sdk.map.object.data.PolygonData Class Reference
Inheritance diagram for com.sygic.sdk.map.object.data.PolygonData:
Collaboration diagram for com.sygic.sdk.map.object.data.PolygonData:

Classes

class  Builder
 

Public Member Functions

List< GeoCoordinatesgetVertices ()
 
int getCenterColor ()
 
int getBorderColor ()
 
float getCenterRadius ()
 
float getBorderRadius ()
 
boolean equals (final Object o)
 
int hashCode ()
 
void writeToParcel (@NonNull final Parcel dest, final int flags)
 
- Public Member Functions inherited from com.sygic.sdk.map.object.data.ViewObjectData
GeoCoordinates getPosition ()
 
Parcelable getPayload ()
 
int describeContents ()
 
void writeToParcel (final Parcel dest, final int flags)
 

Static Public Attributes

static final Creator< PolygonDataCREATOR
 
- Static Public Attributes inherited from com.sygic.sdk.map.object.data.ViewObjectData
static final Creator< ViewObjectDataCREATOR
 

Protected Member Functions

 PolygonData (final Parcel in)
 
- Protected Member Functions inherited from com.sygic.sdk.map.object.data.ViewObjectData
 ViewObjectData (@NonNull final GeoCoordinates geoCoordinates)
 
void setPayload (@NonNull final Parcelable payload)
 
 ViewObjectData (final Parcel in)
 

Additional Inherited Members

- Static Protected Attributes inherited from com.sygic.sdk.map.object.data.ViewObjectData
static final int DEFAULT_OBJECT_COLOR = Color.argb(255, 200, 10, 21)
 

Constructor & Destructor Documentation

◆ PolygonData()

com.sygic.sdk.map.object.data.PolygonData.PolygonData ( final Parcel  in)
protected

Member Function Documentation

◆ equals()

boolean com.sygic.sdk.map.object.data.PolygonData.equals ( final Object  o)

◆ getBorderColor()

int com.sygic.sdk.map.object.data.PolygonData.getBorderColor ( )

Returns the color of polygon border.

◆ getBorderRadius()

float com.sygic.sdk.map.object.data.PolygonData.getBorderRadius ( )

Returns the radius of border part.

◆ getCenterColor()

int com.sygic.sdk.map.object.data.PolygonData.getCenterColor ( )

Returns the color of polygon center.

◆ getCenterRadius()

float com.sygic.sdk.map.object.data.PolygonData.getCenterRadius ( )

Returns the radius of center part.

◆ getVertices()

List<GeoCoordinates> com.sygic.sdk.map.object.data.PolygonData.getVertices ( )

Returns the GeoCoordinate array that comprise the border of the MapPolygon.

◆ hashCode()

int com.sygic.sdk.map.object.data.PolygonData.hashCode ( )

◆ writeToParcel()

void com.sygic.sdk.map.object.data.PolygonData.writeToParcel ( @NonNull final Parcel  dest,
final int  flags 
)

Member Data Documentation

◆ CREATOR

final Creator<PolygonData> com.sygic.sdk.map.object.data.PolygonData.CREATOR
static
Initial value:
= new Creator<PolygonData>() {
@Override
public PolygonData createFromParcel(final Parcel in) {
return new PolygonData(in);
}
@Override
public PolygonData[] newArray(final int size) {
return new PolygonData[size];
}
}

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