Module: Salamander::Drawing::Point

Defined in:
lib/salamander/drawing/point.rb

Instance Method Summary collapse

Instance Method Details

#pointObject



3
4
5
6
# File 'lib/salamander/drawing/point.rb', line 3

def point
  x, y = position
  canvas.point(x, y, color)
end