SpriteStyle.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
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()
|
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eSpriteStyle.Builder\u003c/code\u003e is used to create instances of \u003ccode\u003eSpriteStyle\u003c/code\u003e, which defines the style for sprites on a map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method creates a new \u003ccode\u003eSpriteStyle\u003c/code\u003e object based on the builder's current configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estamp()\u003c/code\u003e method sets the bitmap descriptor used for the sprite, allowing for customization of its appearance.\u003c/p\u003e\n"]]],["The `SpriteStyle.Builder` class facilitates the creation of `SpriteStyle` objects. It offers two primary public methods: `build()`, which constructs the `SpriteStyle` instance, and `stamp(BitmapDescriptor stamp)`, which allows setting a stamp using a `BitmapDescriptor`. The protected `self()` method is also available, and several inherited methods from `java.lang.Object` are present, such as `equals`, `hashCode`, and `toString`.\n"],null,["# SpriteStyle.Builder\n\npublic static final class **SpriteStyle.Builder** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nBuilder of [SpriteStyle](/android/reference/com/google/android/gms/maps/model/SpriteStyle). \n\n### Public Method Summary\n\n|---------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SpriteStyle](/android/reference/com/google/android/gms/maps/model/SpriteStyle) | [build](/android/reference/com/google/android/gms/maps/model/SpriteStyle.Builder#build())() |\n| T extends Builder\\\u003cT\\\u003e | [stamp](/android/reference/com/google/android/gms/maps/model/SpriteStyle.Builder#stamp(com.google.android.gms.maps.model.BitmapDescriptor))([BitmapDescriptor](/android/reference/com/google/android/gms/maps/model/BitmapDescriptor) stamp) |\n\n### Protected Method Summary\n\n|-------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [SpriteStyle.Builder](/android/reference/com/google/android/gms/maps/model/SpriteStyle.Builder) | [self](/android/reference/com/google/android/gms/maps/model/SpriteStyle.Builder#self())() |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [SpriteStyle](/android/reference/com/google/android/gms/maps/model/SpriteStyle)\n**build** ()\n\n#### public T extends Builder\\\u003cT\\\u003e **stamp** ([BitmapDescriptor](/android/reference/com/google/android/gms/maps/model/BitmapDescriptor) stamp)\n\nProtected Methods\n-----------------\n\n#### protected [SpriteStyle.Builder](/android/reference/com/google/android/gms/maps/model/SpriteStyle.Builder)\n**self** ()"]]