目录

public final class CustomCap

Extends the Cap class to customize the cap style for a polyline.

Public Fields

NameTypeDescription
bitmapDescriptorpublic final BitmapDescriptorDefinition of a bitmap to be overlaid at the start or end vertex of a polyline.
refWidthpublic final floatReference stroke width in pixels.

Constructor

Construction Method
CustomCap(@NonNull BitmapDescriptor bitmapDescriptor, float refWidth)
CustomCap(@NonNull BitmapDescriptor bitmapDescriptor)

Public Method Summary

Return typeMethod name
StringtoString()