CGSize aspectRatio Calculates the aspect ratio of the size. constrained(by:) Finds a new size constrained by a size keeping the aspect ratio. filling(_:) Finds a new size filling the given size while keeping the aspect ratio. © 2021 LiveLike Inc.. All rights reserved. (Last updated: 2021-02-18) Generated by jazzy ♪♫ v0.9.6, a Realm project.