Cap

  • Cap is an immutable class used to define the shape of the start and end points of a Polyline on a map.

  • It offers various built-in cap styles like ButtCap, RoundCap, SquareCap, and allows for custom bitmap overlays with CustomCap.

  • Cap implements Parcelable, enabling it to be passed between components within Android applications.

  • Developers can manipulate Cap objects through methods like equals, hashCode, toString, and writeToParcel.

public class Cap extends Object
implements Parcelable
Known Direct Subclasses

Immutable cap that can be applied at the start or end vertex of a Polyline.

Inherited Constant Summary

Public Method Summary

boolean
int
String
void
writeToParcel(Parcel out, int flags)

Inherited Method Summary

Public Methods

public boolean equals (Object o)

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel out, int flags)