BLRect

public struct BLRect : Equatable, Codable

Simple rectangle struct to simplify the API. (BearLibTerminal-Swift uses this instead of CGRect to avoid a Core Graphics dependency, making Linux support possible.)

  • x

    Undocumented

    Declaration

    Swift

    public var x: BLInt
  • y

    Undocumented

    Declaration

    Swift

    public var y: BLInt
  • w

    Undocumented

    Declaration

    Swift

    public var w: BLInt
  • h

    Undocumented

    Declaration

    Swift

    public var h: BLInt
  • Declaration

    Swift

    public static func == (a: BLRect, b: BLRect) -> Bool
  • Undocumented

    Declaration

    Swift

    public init(x: BLInt, y: BLInt, w: BLInt, h: BLInt)