Layer

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The object does not have a layer

    Declaration

    Swift

    static let invalid: AtkLayer
  • This layer is reserved for the desktop background

    Declaration

    Swift

    static let background: AtkLayer
  • This layer is used for Canvas components

    Declaration

    Swift

    static let canvas: AtkLayer
  • This layer is normally used for components

    Declaration

    Swift

    static let widget: AtkLayer
  • mdi

    This layer is used for layered components

    Declaration

    Swift

    static let mdi: AtkLayer
  • This layer is used for popup components, such as menus

    Declaration

    Swift

    static let popup: AtkLayer
  • This layer is reserved for future use.

    Declaration

    Swift

    static let overlay: AtkLayer
  • This layer is used for toplevel windows.

    Declaration

    Swift

    static let window: AtkLayer