ZoomRange
public struct ZoomRange : Sequence
It strictly stores z1 and z2, and the rest of the range is built upon request
-
Minimum zoom in this range
Declaration
Swift
public let min: Zoom
-
Maximum zoom in this range
Declaration
Swift
public let max: Zoom
-
difference between max zoom and min zoom
Declaration
Swift
var diffZoom: Zoom { get }
-
Number of zooms in this range
Example:
let zR = ZoomRange(2,2) print(zR.count) // => 1
Declaration
Swift
public var count: Zoom { get }
-
Converts to array For instance,
Declaration
Swift
func toArray() -> [Zoom]
-
Returns the iterator for this range. It allows to use ZoomRange in for loops.
Declaration
Swift
public func makeIterator() -> ZoomRangeIterator