# GoogleMaps Framework Reference

# GMSTextureStyle

    @interface GMSTextureStyle : https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSStampStyle.html

A polyline style that draws a repeating image over a `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSStyleSpan.html`.
- `


  ### [+textureStyleWithImage:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSTextureStyle#/c:objc(cs)GMSTextureStyle(cm)textureStyleWithImage:)


  ` Returns a texture stamp style with the given image.

  #### Declaration

  Objective-C

      + (nonnull instancetype)textureStyleWithImage:(nonnull UIImage *)image;

  #### Parameters

  |---|---|
  | ` image ` | A `UIImage` object to use as the stamp image. |

  #### Return Value

  An initialized texture stamp style.
- `


  ### [-initWithImage:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSTextureStyle#/c:objc(cs)GMSTextureStyle(im)initWithImage:)


  ` Returns an initialized texture stamp style with the given image.

  #### Declaration

  Swift

      init(image: UIImage)

  Objective-C

      - (nonnull instancetype)initWithImage:(nonnull UIImage *)image;

  #### Parameters

  |---|---|
  | ` image ` | A `UIImage` object to use as the stamp image. |

  #### Return Value

  An initialized texture stamp style.