init(_:rounded:)
Convert CGSize to Cvimagesize using the given rounding rule.
Declaration
init(_ size: CGSize, rounded rule: FloatingPointRoundingRule = .down)Discussion
The same rounding rule is applied to both height and width.
Convert CGSize to Cvimagesize using the given rounding rule.
init(_ size: CGSize, rounded rule: FloatingPointRoundingRule = .down)The same rounding rule is applied to both height and width.