ScrollType

public extension ScrollType
  • Cast constructor, converting any binary integer to a ScrollType.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Scroll the object vertically and horizontally to bring its top left corner to the top left corner of the window.

    Declaration

    Swift

    static let topLeft: AtkScrollType
  • Scroll the object vertically and horizontally to bring its bottom right corner to the bottom right corner of the window.

    Declaration

    Swift

    static let bottomRight: AtkScrollType
  • Scroll the object vertically to bring its top edge to the top edge of the window.

    Declaration

    Swift

    static let topEdge: AtkScrollType
  • Scroll the object vertically to bring its bottom edge to the bottom edge of the window.

    Declaration

    Swift

    static let bottomEdge: AtkScrollType
  • Scroll the object vertically and horizontally to bring its left edge to the left edge of the window.

    Declaration

    Swift

    static let leftEdge: AtkScrollType
  • Scroll the object vertically and horizontally to bring its right edge to the right edge of the window.

    Declaration

    Swift

    static let rightEdge: AtkScrollType
  • Scroll the object vertically and horizontally so that as much as possible of the object becomes visible. The exact placement is determined by the application.

    Declaration

    Swift

    static let anywhere: AtkScrollType