class ChunkyPNG::Canvas

def include_point?(*point_like)

Other tags:
    See: ChunkyPNG.Point -

Returns:
  • (true, false) - True if the x and y coordinates of the point are

Parameters:
  • point_like (ChunkyPNG::Point, Array, Hash, String) -- The point to check.
def include_point?(*point_like)
  dimension.include?(ChunkyPNG::Point(*point_like))
end