Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Marionette::Location
Inherits
JSON::Serializable
/
Struct
/
Value
/
Object
Constructors
new
(x :
Float64
, y :
Float64
)
Source
new
(pull :
JSON::PullParser
)
Source
new
(*, __pull_for_json_serializable pull :
JSON::PullParser
)
Source
Instance methods
clone
Source
copy_with
(x _x = @x, y _y = @y)
Source
x
y