Difference between revisions of "love.graphics.circle (Français)"
(Created page with "Dessine un cercle. == Function == === Synopsis === <source lang="lua"> love.graphics.circle( mode, x, y, radius, segments ) </source> === Arguments === {{param|DrawMode|mode|M...") |
m |
||
Line 24: | Line 24: | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
− | * [[parent::love.graphics]] | + | * [[parent::love.graphics (Français)]] |
[[Category:Functions]] | [[Category:Functions]] | ||
[[Sub-Category::Drawing| ]] | [[Sub-Category::Drawing| ]] |
Revision as of 17:38, 1 October 2016
Dessine un cercle.
Contents
Function
Synopsis
love.graphics.circle( mode, x, y, radius, segments )
Arguments
DrawMode mode
- Mode de dessin du cercle.
number x
- Position du centre sur l'axe x.
number y
- Position du centre sur l'axe y.
number radius
- Rayon du cercle.
number segments
- Nombre de segments utilisés pour dessiner le cercle.
Retourne
Rien.
Exemples
L'effet de l'argument segments
function love.draw()
love.graphics.setColor(255, 255, 255)
love.graphics.circle("fill", 300, 300, 50, 100) -- Dessine un cercle blanc avec 100 segments.
love.graphics.setColor(255, 0, 0)
love.graphics.circle("fill", 300, 300, 50, 5) -- Dessine un cercle rouge avec 5 segments.
end
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info