Class Info |
|---|
public final class CustomCap extends Cap Extends the Cap class to customize the cap style for a polyline. |
Qualifier and Type | Field and Description |
|---|---|
public final BitmapDescriptor | bitmapDescriptor Definition of a Bitmap to be overlaid at the start or end vertex of a polyline. |
public final float | refWidth Reference stroke width, in pixels. |
Constructor Name |
|---|
CustomCap(@NonNull BitmapDescriptor bitmap, float bitmapRefWidth) Creates a CustomCap object based on specified parameters. |
CustomCap(@NonNull BitmapDescriptor bitmap) Creates a CustomCap object based on specified parameters. |
Qualifier and Type | Method Name and Description |
|---|---|
String | toString() Returns the object as a string. |
Constructor |
|---|
public CustomCap(@NonNull BitmapDescriptor bitmap, float bitmapRefWidth) Creates a CustomCap object based on specified parameters. |
Parameters
Name | Description |
|---|---|
bitmap | Definition of a Bitmap to be overlaid at the start or end vertex of a polyline. |
bitmapRefWidth | Reference stroke width, in pixels. |
Constructor |
|---|
public CustomCap(@NonNull BitmapDescriptor bitmap) Creates a CustomCap object based on specified parameters. |
Parameters
Name | Description |
|---|---|
bitmap | Definition of a Bitmap to be overlaid at the start or end vertex of a polyline. |