public final class

Dash

extends PatternItem
java.lang.Object
   ↳ com.google.android.gms.maps.model.PatternItem
     ↳ com.google.android.gms.maps.model.Dash

Class Overview

An immutable class representing a dash used in the stroke pattern for a Polyline or the outline of a Polygon or Circle.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public final float length Length in pixels (non-negative).
Public Constructors
Dash(float length)
Constructs a Dash.
Public Methods
String toString()
[Expand]
Inherited Methods
From class com.google.android.gms.maps.model.PatternItem
From class java.lang.Object
From interface android.os.Parcelable

Fields

public final float length

Length in pixels (non-negative).

Public Constructors

public Dash (float length)

Constructs a Dash.

Parameters
length float: Length in pixels. Negative value will be clamped to zero.

Public Methods

public String toString ()

Returns
String