Cap

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

  • It offers various subclasses like ButtCap, RoundCap, SquareCap, and CustomCap for different cap styles.

  • Cap inherits from Object and implements Parcelable, providing methods like equals, hashCode, and toString.

  • Developers can customize the appearance of Polyline endpoints using the different Cap types available.

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
equals(Object o)
int
String

Inherited Method Summary

Public Methods

public boolean equals (Object o)

Parameters
o

public int hashCode ()

public String toString ()