Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
termbox
master
Termbox
Border
Cell
Container
Element
Line
Position
Window
Built with Crystal 1.9.2
2023-10-08 08:25:39 UTC
struct
Termbox::Position
Termbox::Position
Struct
Value
Object
Overview
A position is a simple coordinate
Defined in:
termbox/position.cr
Constructors
.new
(x : Int32, y : Int32)
Instance Method Summary
#new_transform
(x : Int32, y : Int32)
#x
: Int32
#y
: Int32
Constructor Detail
def self.
new
(x : Int32, y : Int32)
#
[
View source
]
Instance Method Detail
def
new_transform
(x : Int32, y : Int32)
#
[
View source
]
def
x
: Int32
#
[
View source
]
def
y
: Int32
#
[
View source
]