Instance Method

distance(to:)

Returns a stride x such that self.advanced(by: x) approximates other.

Declaration

func distance(to other: CGFloat) -> CGFloat

Discussion

Complexity: O(1).

Relationships

From Protocol