City

public struct City : HorizonElement

Describes a city on the horizon element.

Important

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

Public

  • Declaration

    Swift

    public let elementType: HorizonElementType
  • id

    Declaration

    Swift

    public let id: UUID
  • Declaration

    Swift

    public let pathID: Int
  • Declaration

    Swift

    public let startOffset: Measurement<UnitLength>
  • Declaration

    Swift

    public let endOffset: Measurement<UnitLength>
  • The cities name

    Declaration

    Swift

    public let name: String