top The content is horizontally centered at the top-edge of the bounds rectangle. Declarationstatic let top: CALayerContentsGravity See AlsoConstantscenterbottomleftrighttopLefttopRightbottomLeftbottomRightresizeresizeAspectresizeAspectFill