BLPoint

public struct BLPoint : Equatable, Codable

Simple point struct to simplify the API. (BearLibTerminal-Swift uses this instead of CGPoint 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
  • Undocumented

    Declaration

    Swift

    public static var zero: BLPoint
  • Declaration

    Swift

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

    Declaration

    Swift

    public init(x: BLInt, y: BLInt)
  • Declaration

    Swift

    public var hashValue: Int { get }