public
PatternItem(type entier, longueur flottante)
Paramètres
type
longueur
Méthodes publiques
public
boolean
est égal(e) à(Objet o)
Paramètres
o
public
int
hashCode()
public
String
toString()
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/20 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/20 (UTC)."],[[["\u003cp\u003e\u003ccode\u003ePatternItem\u003c/code\u003e is an immutable class used to define patterns for strokes in Polylines, Polygons, and Circles on a map.\u003c/p\u003e\n"],["\u003cp\u003eIt has three known direct subclasses: \u003ccode\u003eDash\u003c/code\u003e, \u003ccode\u003eDot\u003c/code\u003e, and \u003ccode\u003eGap\u003c/code\u003e, which represent different pattern elements.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a \u003ccode\u003ePatternItem\u003c/code\u003e using its constructor, providing a type and an optional length.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePatternItem\u003c/code\u003e inherits methods from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eParcelable\u003c/code\u003e for object comparison, hashing, and data serialization.\u003c/p\u003e\n"]]],["`PatternItem`, extending `Object` and implementing `Parcelable`, is an immutable class for stroke patterns in `Polyline`, `Polygon`, or `Circle` outlines. Direct subclasses include `Dash`, `Dot`, and `Gap`. It has a constructor accepting `type` and `length`, as well as methods for `equals`, `hashCode`, and `toString`. Inherited methods are provided by `java.lang.Object` and `android.os.Parcelable`, which includes `describeContents` and `writeToParcel`.\n"],null,[]]