UICircularProgressRingGradientPosition

@objc public enum UICircularProgressRingGradientPosition: Int

UICircularProgressRingGradientPosition

This is an enumeration which is used to determine the position for a gradient. Used inside the UICircularProgressRingLayer to allow customization for the gradient.

Author

Luis Padron

  • top

    Gradient positioned at the top

    Declaration

    Swift

    case top = 1
  • Gradient positioned at the bottom

    Declaration

    Swift

    case bottom = 2
  • Gradient positioned to the left

    Declaration

    Swift

    case left = 3
  • Gradient positioned to the right

    Declaration

    Swift

    case right = 4
  • Gradient positioned in the top left corner

    Declaration

    Swift

    case topLeft = 5
  • Gradient positioned in the top right corner

    Declaration

    Swift

    case topRight = 6
  • Gradient positioned in the bottom left corner

    Declaration

    Swift

    case bottomLeft = 7
  • Gradient positioned in the bottom right corner

    Declaration

    Swift

    case bottomRight = 8