Contents

init(exactly:)

Creates a size with dimensions specified as a Core Graphics size value.

Declaration

init?(exactly size: CGSize)

Parameters

  • size:

    The size.

Discussion

The height and width must be greater than 0 and exactly representable as an Int value.

See Also

Initializers