Contents

center

The center point of the item.

Declaration

var center: CGPoint { get set }

Discussion

The center point is specified in the coordinate system of the collection view. Setting the value of this property also updates the origin of the rectangle in the frame property.

See Also

Accessing the layout attributes