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/04/26 (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/04/26 (UTC)."],[[["`PatternItem` is 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`, and `Gap`, which represent different pattern elements."],["You can create a `PatternItem` using its constructor, providing a type and an optional length."],["`PatternItem` inherits methods from `Object` and `Parcelable` for object comparison, hashing, and data serialization."]]],["`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"]]