SquareCap
Cap that is squared off after extending half the stroke width beyond the start or end vertex of a
Polyline
with solid stroke pattern.
Inherited Constant Summary
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Public Constructor Summary
Inherited Method Summary
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
Public Methods
public
String
toString
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.
[null,null,["Last updated 2025-06-23 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"]]