Class Info |
|---|
public class PatternItem An immutable class that describes the stroke pattern of a polyline or the outline of a polygon or circle. |
Fields |
|---|
public static final int TYPE_DASH Type of a dash used in the stroke pattern for a polyline or the outline of a polygon or circle. TYPE_DASH: 0 For other constant values, please refer to Constant-values. |
Fields |
|---|
public static final int TYPE_DOT Type of a dot used in the stroke pattern for a polyline or the outline of a polygon or circle. TYPE_DOT: 1 For other constant values, please refer to Constant-values. |
Fields |
|---|
public static final int TYPE_GAP Type of a gap used in the stroke pattern for a polyline or the outline of a polygon or circle. TYPE_GAP: 2 For other constant values, please refer to Constant-values. |
Constructor Name |
|---|
PatternItem(int type,float length) Creates a PatternItem object based on the type and length. |
Qualifier and Type | Method Name and Description |
|---|---|
boolean | equals(Object other) Checks whether a PatternItem object equals another. |
int | hashCode() Returns the hash value of an object. |
String | toString() Returns the object as a string. |
void | writeToParcel(Parcel out, int flags) Serializes data. |