public class PatternItem
An immutable class that describes the stroke pattern of a polyline or the outline of a polygon or circle.
| Name | Type | Description |
| TYPE_DASH | int | Dashed line type. |
| TYPE_DOT | int | Dot type. |
| TYPE_GAP | int | Gap type. |
| Construction Method |
| PatternItem(int type, float length) |
| Return type | Method name |
| boolean | equals(Object other) |
| int | hashCode() |
| String | toString() |
| void | writeToParcel(Parcel out, int flags) |
| Method |
| public boolean equals(Object other) |
| Checks whether a PatternItem object equals another. |
Parameters:
| Parameter name | Parameter desc |
| other | Name of another PatternItem object. |
Return:
| Return type | Parameter desc |
| boolean | If the PatternItem objects are equal, true is returned. Otherwise, false is returned. |