JunctionSides

public struct JunctionSides : OptionSet

Describes how a rendered element connects to adjacent elements.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkJunctionSides enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkJunctionSides { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified GtkJunctionSides enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GtkJunctionSides)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • No junctions.

    Declaration

    Swift

    public static let none: JunctionSides
  • Element connects on the top-left corner.

    Declaration

    Swift

    public static let cornerTopleft: JunctionSides
  • Element connects on the top-right corner.

    Declaration

    Swift

    public static let cornerTopright: JunctionSides
  • Element connects on the bottom-left corner.

    Declaration

    Swift

    public static let cornerBottomleft: JunctionSides
  • Element connects on the bottom-right corner.

    Declaration

    Swift

    public static let cornerBottomright: JunctionSides
  • top

    Element connects on the top side.

    Declaration

    Swift

    public static let top: JunctionSides
  • Element connects on the bottom side.

    Declaration

    Swift

    public static let bottom: JunctionSides
  • Element connects on the left side.

    Declaration

    Swift

    public static let left: JunctionSides
  • Element connects on the right side.

    Declaration

    Swift

    public static let right: JunctionSides