Method: Vips::Image#draw_point

Defined in:
lib/vips/image.rb

#draw_point(ink, left, top, **opts) ⇒ Image

Draw a point on an image.

See #draw_rect.

Returns:

  • (Image) —

    modified image



1029
1030
1031
# File 'lib/vips/image.rb', line 1029

def draw_point ink, left, top, **opts
  draw_rect ink, left, top, 1, 1, **opts
end