"scaleAspectFill" | Fills the layer while keeping the aspect ratio. |
"scaleAspectFit" | Fits inside the layer while keeping the aspect ratio. |
"scaleToFill" | Fills the layer while ignoring the aspect ratio. |
"alignCenter" | Aligns the content in the center of the layer. |
"alignTop" | Aligns the content at the top of the layer, centering it horizontally. |
"alignBottom" | Aligns the content at the top of the layer, centering it horizontally. |
"alignLeft" | Aligns the content on the left side of the layer, centering it vertically. |
"alignRight" | Aligns the content on the right side of the layer, centering it vertically. |
"alignTopLeft" | Aligns the content in the top left corner of the layer. |
"alignTopRight" | Aligns the content in the top right corner of the layer. |
"alignBottomLeft" | Aligns the content in the bottom left corner of the layer. |
"alignBottomRight" | Aligns the content in the bottom right corner of the layer. |