class ChunkyPNG::Canvas
def include_x?(x)
-
(true, false)
- True if the x-coordinate is in the range of this
Parameters:
-
x
(Integer
) -- The y-coordinate of the pixel (column)
def include_x?(x) x >= 0 && x < width end
(true, false)
- True if the x-coordinate is in the range of this
x
(Integer
)
-- The y-coordinate of the pixel (column)
def include_x?(x) x >= 0 && x < width end