Size
public struct Size
extension Size: Zero
extension Size: Equatable
Model of rectangular size.
-
Width.
Declaration
Swift
public let width: Double -
Height.
Declaration
Swift
public let height: Double
-
Declaration
Swift
public func scaled(by value: Double) -> SizeReturn Value
a
Sizewith both dimensions scaled by the same value. -
Declaration
Swift
public func scaled(by size: Size) -> SizeReturn Value
a
Sizescaled by the dimensions ofsize. -
Declaration
Swift
public static var zero: Size { get }
View on GitHub
Install in Dash
Size Structure Reference