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/05/13 (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/05/13 (UTC)."],[[["`SquareCap` creates a squared-off cap for the ends of a `Polyline` with a solid stroke pattern, extending half the stroke width beyond the vertex."],["It inherits from the `Cap` class and implements the `Parcelable` interface for object serialization."],["You can create a `SquareCap` using its default constructor: `SquareCap()`."],["The `toString()` method provides a string representation of the `SquareCap` object."]]],["`SquareCap`, a subclass of `Cap`, extends a `Polyline`'s solid stroke pattern by squaring it off beyond the start or end vertex. It offers a constructor, `SquareCap()`, to create instances. The class inherits methods for equality checks (`equals`), hash code generation (`hashCode`), and string representation (`toString`). Additionally, it implements `Parcelable`, providing methods like `describeContents()` and `writeToParcel()` for data serialization. The primary function of `SquareCap` is to modify the visual termination of a polyline.\n"]]