DestinationConnectionLineStyle

public struct DestinationConnectionLineStyle

The DestinationConnectionLineStyle struct represents the style of a dotted line connecting the drivable destination with the final destination. It allows the user to customize the dotted line by specifying various parameters such as line pattern, dash length, gap color, pattern length, pattern color, and pattern width.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes a new instance of DestinationConnectionLineStyle with the given values.

    Declaration

    Swift

    public init(
        patternTexture: UIImage? = Defaults.patternTexture,
        width: Double = Defaults.width
    )

    Parameters

    patternTexture

    A pattern texture image that determines the pattern of the line.

    width

    A Double value that determines the width of the pattern in the line.

  • A pattern texture image that determines the pattern of the line.

    Declaration

    Swift

    public let patternTexture: UIImage?
  • Determines the width of the pattern in the line, measured in density-independent pixels.

    Declaration

    Swift

    public let width: Double
  • Default style

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Defaults