Contents

resizeAspect

The content is resized to fit the bounds rectangle, preserving the aspect of the content. If the content does not completely fill the bounds rectangle, the content is centered in the partial axis.

Declaration

static let resizeAspect: CALayerContentsGravity

See Also

Constants