class ChunkyPNG::Canvas
def row(y)
-
(Array
- The vector of pixels in the requested row)
Parameters:
-
y
(Integer
) -- The 0-based row index
def row(y) assert_y!(y) pixels.slice(y * width, width) end
(Array)
- The vector of pixels in the requested row
y
(Integer
)
-- The 0-based row index
def row(y) assert_y!(y) pixels.slice(y * width, width) end