StructureFoundation5.9.0
CGSize
struct CGSize
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(width: Double, height: Double
) init(width: Int, height: Int
) init(width: CGFloat, height: CGFloat
) static var zero: CGSize
var height: CGFloat
var width: CGFloat
static func == (CGSize, CGSize
) -> Bool func encode(to: Encoder
) throws