W3cubDocs

/LÖVE

love.graphics.setPoint

Removed in LÖVE 0.9.0
Use love.graphics.setPointSize and love.graphics.setPointStyle.

Sets the point size and style.

Function

Synopsis

love.graphics.setPoint( size, style )

Arguments

number size
The new point size.
PointStyle style
The new point style.

Returns

Nothing.

Examples

Increase the point size by 1 and set it to smooth.

local s = love.graphics.getPointSize() + 1
love.graphics.setPoint(s, "smooth")

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setPoint