---------------------------------------- -- Draw a circle -- @param {image} img -- @param {integer} x -- @param {integer} y -- @param {integer} r -- @param {integer} lineSize -- @param {color} drawColor ---------------------------------------- on circle (img, x, y, r, lineSize, drawColor) props = [:] props[#shapeType] = #oval props[#lineSize] = lineSize props[#color] = drawColor img.draw(x-r, y-r, x+r, y+r, props) end