ImageAlign

public enum ImageAlign : Int

Identifies how an image could be aligned.

  • center: The image is aligned in the center.
  • fit: The image is aligned to fit the available space.
  • stretch: The image is stretched to cover the available space.
  • tile: The image is tiled to cover the available space.
  • topLeft: The image is aligned in the top left corner of the available space.
  • bottomLeft: The image is aligned in the bottom left corner of the available space.
  • topRight: The image is aligned in the top right corner of the available space.
  • bottomRight: The image is aligned in the bottom right corner of the available space.
  • topCenter: The image is aligned in the top center corner of the available space.
  • bottomCenter: The image is aligned in the bottom center corner of the available space.
  • middleLeft: The image is aligned in the middle left corner of the available space.
  • middleRight: The image is aligned in the middle right corner of the available space.
  • fitLeft: The image is resized to fit the size of the object and aligned to left side.
  • fitTop: The image is resized to fit the size of the object and aligned to top side.
  • fitRight: The image is resized to fit the size of the object and aligned to right side.
  • fitBottom: The image is resized to fit the size of the object and aligned to bottom side.
  • Undocumented

    Declaration

    Swift

    case center = 0
  • fit

    Undocumented

    Declaration

    Swift

    case fit = 1
  • Undocumented

    Declaration

    Swift

    case stretch = 2
  • Undocumented

    Declaration

    Swift

    case tile = 3
  • Undocumented

    Declaration

    Swift

    case topLeft = 4
  • Undocumented

    Declaration

    Swift

    case bottomLeft = 5
  • Undocumented

    Declaration

    Swift

    case topRight = 6
  • Undocumented

    Declaration

    Swift

    case bottomRight = 7
  • Undocumented

    Declaration

    Swift

    case topCenter = 8
  • Undocumented

    Declaration

    Swift

    case bottomCenter = 9
  • Undocumented

    Declaration

    Swift

    case middleLeft = 10
  • Undocumented

    Declaration

    Swift

    case middleRight = 11
  • Undocumented

    Declaration

    Swift

    case fitLeft = 12
  • Undocumented

    Declaration

    Swift

    case fitTop = 13
  • Undocumented

    Declaration

    Swift

    case fitRight = 14
  • Undocumented

    Declaration

    Swift

    case fitBottom = 15