PreviewState

public enum PreviewState

The display state of a preview view.

  • The color is not being changed and the preview view is centered at the last modified point.

    Declaration

    Swift

    case inactive
  • The color is still being changed, but the preview view center is fixed. This occurs when a touch begins inside the slider but continues outside of it. In this case, the color is actively being modified, but the preview remains fixed at the same position that it was when the touch moved outside of the slider.

    Declaration

    Swift

    case activeFixed
  • The color is being actively changed and the preview view center will be updated to match the current color.

    Declaration

    Swift

    case active