Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Tryst::SDL::Point
Inherits
Struct
<
Value
<
Object
A point in the renderer's coordinates.
Constructors
new
(x :
Float32
, y :
Float32
)
Source
new
(x :
Number
, y :
Number
)
Source
Instance methods
clone
Source
copy_with
(x _x = @x, y _y = @y)
Source
to_unsafe
Source
x
y