Difference between revisions of "love.graphics.point"

(Moved notes from h3 to h2.)
m
Line 17: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Draws a point.}}
 
{{#set:Description=Draws a point.}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.point}}

Revision as of 20:17, 18 November 2010

Draws a point.

Function

Synopsis

love.graphics.point( x, y )

Arguments

number x
The position on the x-axis.
number y
The position on the y-axis.

Returns

Nothing.

Notes

The pixel grid is actually offset to the center of each pixel. So to get clean pixels drawn use 0.5 + integer increments.

See Also

Other Languages