Point
public struct Pointextension Point: EquatableA structure that contains a point in a two-dimensional coordinate system.
- 
                  
                  The x-coordinate of the point. DeclarationSwift public var x: Int
- 
                  
                  The y-coordinate of the point. DeclarationSwift public var y: Int
- 
                  
                  Creates a point with specified coordinates. DeclarationSwift public init(x: Int, y: Int)ParametersxThe x-coordinate of the point yThe y-coordinate of the point 
- 
                  
                  The point at the origin (0,0). DeclarationSwift public static let zero: Point
- 
                  
                  Creates a point with specified coordinates. DeclarationSwift public init(x: Int32, y: Int32)ParametersxThe x-coordinate of the point yThe y-coordinate of the point 
- 
                  
                  Returns a Boolean value indicating whether two values are equal. Equality is the inverse of inequality. For any values aandb,a == bimplies thata != bisfalse.DeclarationSwift public static func == (lhs: Point, rhs: Point) -> BoolParameterslhsA value to compare. rhsAnother value to compare. 
 View on GitHub
            View on GitHub
           Point Structure Reference
      Point Structure Reference