TextureStyle

  • TextureStyle defines a style where a texture is applied to a stroke without repetition, unlike a point sprite.

  • It inherits from StampStyle and provides a newBuilder method to create instances using a BitmapDescriptor as the texture.

  • The texture image can be accessed via the inherited getStamp method from StampStyle.

public class TextureStyle extends StampStyle

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

Nested Class Summary

class TextureStyle.Builder Builder of TextureStyle

Public Method Summary

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

Inherited Method Summary

Public Methods

public static TextureStyle.Builder newBuilder (BitmapDescriptor stamp)

Creates a new TextureStyle builder.

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