public final class

Gap

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

Class Overview

An immutable class representing a gap 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
Gap(float length)
Constructs a Gap.
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 Gap (float length)

Constructs a Gap.

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

Public Methods

public String toString ()

Returns
String