SpriteStyle

  • SpriteStyle describes a style where a texture is treated as a repeating point sprite on a map.

  • It inherits from StampStyle and uses a BitmapDescriptor to define the repeating image.

  • You can create a SpriteStyle using its constructor or with the newBuilder method.

  • The getStamp method, inherited from StampStyle, allows you to retrieve the image used for the sprite.

public class SpriteStyle extends StampStyle

Describes a StampStyle, where the associated stamp texture is treated as a repeating point sprite.

Nested Class Summary

class SpriteStyle.Builder Builder of SpriteStyle

Public Constructor Summary

Public Method Summary

static SpriteStyle.Builder
newBuilder(BitmapDescriptor stamp)
Creates a new SpriteStyle builder.

Inherited Method Summary

Public Constructors

public SpriteStyle (BitmapDescriptor stamp)

Parameters
stamp

Public Methods

public static SpriteStyle.Builder newBuilder (BitmapDescriptor stamp)

Creates a new SpriteStyle builder.

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