Puck2DConfiguration

public struct Puck2DConfiguration : Equatable

Undocumented

  • Image to use as the top of the location indicator.

    Declaration

    Swift

    public var topImage: UIImage?
  • Image to use as the middle of the location indicator.

    Declaration

    Swift

    public var bearingImage: UIImage?
  • Image to use as the background of the location indicator.

    Declaration

    Swift

    public var shadowImage: UIImage?
  • The size of the images, as a scale factor applied to the size of the specified image.

    Declaration

    Swift

    public var scale: Value<Double>?
  • Flag determining if the horizontal accuracy ring should be shown arround the Puck. default value is false

    Declaration

    Swift

    public var showsAccuracyRing: Bool
  • Initialize a Puck2D object with a top image, bearing image, shadow image, scale, and accuracy ring visibility.

    Declaration

    Swift

    public init(topImage: UIImage? = nil,
                bearingImage: UIImage? = nil,
                shadowImage: UIImage? = nil,
                scale: Value<Double>? = nil,
                showsAccuracyRing: Bool = false)

    Parameters

    topImage

    The image to use as the top layer for the location indicator.

    bearingImage

    The image used as the middle of the location indicator.

    shadowImage

    The image that acts as a background of the location indicator.

    scale

    The size of the images, as a scale factor applied to the size of the specified image..

    showsAccuracyRing

    Indicates whether the location accurary ring should be shown.