class ChunkyPNG::Point
def initialize(x, y)
-
y
(Integer, :to_i
) -- The y-coordinate. -
x
(Integer, :to_i
) -- The x-coordinate.
def initialize(x, y) @x, @y = x.to_i, y.to_i end
y
(Integer, :to_i
)
-- The y-coordinate.
x
(Integer, :to_i
)
-- The x-coordinate.
def initialize(x, y) @x, @y = x.to_i, y.to_i end