StructureFoundation5.9.0
CGPoint
struct CGPoint
Citizens in Foundation
Conformances
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
Members
init(
) init(from: Decoder
) throws init(x: Double, y: Double
) init(x: Int, y: Int
) init(x: CGFloat, y: CGFloat
) static var zero: CGPoint
var x: CGFloat
var y: CGFloat
static func == (CGPoint, CGPoint
) -> Bool func encode(to: Encoder
) throws