BorderStyle

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • No visible border

    Declaration

    Swift

    static let none: GtkBorderStyle
  • A single line segment

    Declaration

    Swift

    static let solid: GtkBorderStyle
  • Looks as if the content is sunken into the canvas

    Declaration

    Swift

    static let inset: GtkBorderStyle
  • Looks as if the content is coming out of the canvas

    Declaration

    Swift

    static let outset: GtkBorderStyle
  • Same as GTK_BORDER_STYLE_NONE

    Declaration

    Swift

    static let hidden: GtkBorderStyle
  • A series of round dots

    Declaration

    Swift

    static let dotted: GtkBorderStyle
  • A series of square-ended dashes

    Declaration

    Swift

    static let dashed: GtkBorderStyle
  • Two parallel lines with some space between them

    Declaration

    Swift

    static let double: GtkBorderStyle
  • Looks as if it were carved in the canvas

    Declaration

    Swift

    static let groove: GtkBorderStyle
  • Looks as if it were coming out of the canvas

    Declaration

    Swift

    static let ridge: GtkBorderStyle