SpriteStyle

  • SpriteStyle is a StampStyle where the associated stamp is a repeating complete image.

  • It includes a nested Builder class for creating SpriteStyle instances.

  • SpriteStyle can be constructed with a BitmapDescriptor representing the stamp.

  • A static newBuilder method is available to create a SpriteStyle builder with a specified stamp.

public classSpriteStyle extendsStampStyle

Describes aStampStyle, where the associated stamp is a repeating complete image.

Nested Class Summary

classSpriteStyle.BuilderBuilder ofSpriteStyle

Inherited Constant Summary

From interface android.os.Parcelable
intCONTENTS_FILE_DESCRIPTOR
intPARCELABLE_WRITE_RETURN_VALUE

Public Constructor Summary

Public Method Summary

staticSpriteStyle.Builder
newBuilder(BitmapDescriptor stamp)
Creates a newSpriteStyle builder.

Inherited Method Summary

From classcom.google.android.gms.maps.model.StampStyle
BitmapDescriptor
getStamp()
The image or texture to be repeated over a stroke.
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
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 Constructors

publicSpriteStyle(BitmapDescriptor stamp)

Public Methods

public staticSpriteStyle.BuildernewBuilder(BitmapDescriptor stamp)

Creates a newSpriteStyle builder.

Parameters
stampthe image to be repeated over a stroke.
Returns
  • the builder with the stamp input.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.