love.graphics.circle (简体中文)

绘制一个圆形.

Function

Synopsis

love.graphics.circle( mode, x, y, radius, segments )

Arguments

DrawMode mode
如何绘制这个圆.
number x
X坐标.
number y
Y坐标.
number radius
圆的半径.
number segments (10)
绘制段数.

Returns

Nothing.

Examples

An amazing circle.

function love.draw()
    love.graphics.circle("fill", 300, 300, 50)
end

See Also


Other Languages

Personal tools