TextureStyle

  • TextureStyle describes a style where a provided image is used as a repeating texture for map elements like strokes.

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

  • You can create a TextureStyle using the newBuilder method and providing the desired texture image.

  • The texture image is repeated to fill the area of the styled element, like a line or polygon border.

public class TextureStyle extends StampStyle

Describes a StampStyle, where the associated stamp is used as a texture.

Nested Class Summary

class TextureStyle.Builder Builder of TextureStyle

Inherited Constant Summary

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.