目录

public class PatternItem

An immutable class that describes the stroke pattern of a polyline or the outline of a polygon or circle.

Public Fields

NameTypeDescription
TYPE_DASHintDashed line type.
TYPE_DOTintDot type.
TYPE_GAPintGap type.

Constructor

Construction Method
PatternItem(int type, float length)

Public Method Summary

Return typeMethod name
booleanequals(Object other)
inthashCode()
StringtoString()
voidwriteToParcel(Parcel out, int flags)

Public Methods

Method
public boolean equals(Object other)
Checks whether a PatternItem object equals another.


Parameters:

Parameter nameParameter desc
otherName of another PatternItem object.


Return:

Return typeParameter desc
booleanIf the PatternItem objects are equal, true is returned. Otherwise, false is returned.