Contents

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.