Position

public enum Position

A position on the screen. Use this to define specific locations on the screen where the animation should start

  • the top left point of the view

    Declaration

    Swift

    case topLeft
  • the top center point of the view

    Declaration

    Swift

    case topMiddle
  • the top right point of the view

    Declaration

    Swift

    case topRight
  • the left point of the view, centered vertically

    Declaration

    Swift

    case left
  • the absolute center of the view (both horizontally and vertically)

    Declaration

    Swift

    case middle
  • the right point of the view, centered vertically

    Declaration

    Swift

    case right
  • the bottom left point of the view

    Declaration

    Swift

    case bottomLeft
  • the bottom center point of the view

    Declaration

    Swift

    case bottomMiddle
  • the bottom right point of the view

    Declaration

    Swift

    case bottomRight