Contents

init(CGRect:)

Creates a new value object containing the specified CoreGraphics rectangle structure.

Declaration

init(CGRect rect: CGRect)
init(cgRect rect: CGRect)

Parameters

  • rect:

    The value for the new object.

Return Value

A new value object that contains the rectangle information.

See Also

Related Documentation

Working with CoreGraphics Geometry Values