LinesPosition

public struct LinesPosition

Horizontal position of a point for an arbitrary set of lines.

  • Either starting or stopping a LinesSegment.

    See more

    Declaration

    Swift

    public enum State
  • Horizontal position.

    Declaration

    Swift

    public let position: Double
  • Start or stop lines.

    Declaration

    Swift

    public let state: State
  • Create a LinesPosition with a given state and horizontal position.

    Declaration

    Swift

    public init(_ state: State, at position: Double)
  • Declaration

    Swift

    public static func == (lhs: LinesPosition, rhs: LinesPosition) -> Bool

    Return Value

    true if both LinesPosition values are equivalent. Otherwise, false.

  • Declaration

    Swift

    public static func < (lhs: LinesPosition, rhs: LinesPosition) -> Bool

    Return Value

    true if the left value is less than the right view. Otherwise, false.