class ChunkyPNG::Point
def within_bounds?(*dimension_like)
-
(true, false)
- true iff the x and y coordinate fall width the width
Parameters:
-
dimension_like
(ChunkyPNG::Dimension, ...
) -- The dimension of which the bounds
def within_bounds?(*dimension_like) ChunkyPNG::Dimension(*dimension_like).include?(self) end