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

Classes

class  Builder
 

Public Member Functions

List< GeoCoordinatesgetVertices ()
 
float getLineWidth ()
 
int getLineColor ()
 
int getSecondaryColor ()
 
boolean isDashed ()
 
boolean hasScalableWidth ()
 
boolean hasBorders ()
 
float getDashLength ()
 
float getSecondaryDashLength ()
 
float getCornerRadius ()
 
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< PolylineDataCREATOR
 
- Static Public Attributes inherited from com.sygic.sdk.map.object.data.ViewObjectData
static final Creator< ViewObjectDataCREATOR
 

Protected Member Functions

 PolylineData (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

◆ PolylineData()

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

Member Function Documentation

◆ equals()

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

◆ getCornerRadius()

float com.sygic.sdk.map.object.data.PolylineData.getCornerRadius ( )

Returns the dash corner radius.

◆ getDashLength()

float com.sygic.sdk.map.object.data.PolylineData.getDashLength ( )

Returns the dash length for the dash segment of the MapPolyline.

◆ getLineColor()

int com.sygic.sdk.map.object.data.PolylineData.getLineColor ( )

Returns the line color.

◆ getLineWidth()

float com.sygic.sdk.map.object.data.PolylineData.getLineWidth ( )

Returns the line width, in pixels.

◆ getSecondaryColor()

int com.sygic.sdk.map.object.data.PolylineData.getSecondaryColor ( )

Returns the secondary line color (used for dash/border).

◆ getSecondaryDashLength()

float com.sygic.sdk.map.object.data.PolylineData.getSecondaryDashLength ( )

Returns the length of secondary dash segment of the MapPolyline.

◆ getVertices()

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

Returns the GeoCoordinate array that comprise the path of the MapPolyline.

◆ hasBorders()

boolean com.sygic.sdk.map.object.data.PolylineData.hasBorders ( )

Indicates whether the MapPolyline should be rendered with antialiased borders.

◆ hashCode()

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

◆ hasScalableWidth()

boolean com.sygic.sdk.map.object.data.PolylineData.hasScalableWidth ( )

Indicates whether the MapPolyline has scalable width by ground distance.

◆ isDashed()

boolean com.sygic.sdk.map.object.data.PolylineData.isDashed ( )

Indicates whether the MapPolyline is dashed.

◆ writeToParcel()

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

Member Data Documentation

◆ CREATOR

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

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