Page Summary
-
PatternItemis an immutable class used to define patterns for strokes in Polylines, Polygons, and Circles on a map. -
It has three known direct subclasses:
Dash,Dot, andGap, which represent different pattern elements. -
You can create a
PatternItemusing its constructor, providing a type and an optional length. -
PatternIteminherits methods fromObjectandParcelablefor object comparison, hashing, and data serialization.
public class
PatternItem
extends Object
implements Parcelable
implements Parcelable
| Known Direct Subclasses |
Inherited Constant Summary
Public Constructor Summary
|
PatternItem(int type, Float length)
|
Public Method Summary
| boolean |
equals(Object o)
|
| int |
hashCode()
|
| String |
toString()
|
Inherited Method Summary
Public Constructors
public PatternItem (int type, Float length)
Parameters
| type | |
|---|---|
| length |
Public Methods
public boolean equals (Object o)
Parameters
| o |
|---|