GoogleNavigation Framework Reference

GMSTextureStyle

@interface GMSTextureStyle : GMSStampStyle

A polyline style that draws a repeating image over a GMSStyleSpan.

  • 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.

  • 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.