Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
geometry
v0.2.0
Geometry
Line
Point
Rectangle
Built with Crystal 1.9.2
2023-10-08 14:52:21 UTC
struct
Geometry::Point
Geometry::Point
Struct
Value
Object
Defined in:
geometry/point.cr
Constructors
.new
(x : Int32, y : Int32)
Instance Method Summary
#x
: Int32
#y
: Int32
Constructor Detail
def self.
new
(x : Int32, y : Int32)
#
[
View source
]
Instance Method Detail
def
x
: Int32
#
[
View source
]
def
y
: Int32
#
[
View source
]