Difference between revisions of "love.graphics.setPointSize"

m (Add more see alsos.)
(Add an example)
Line 9: Line 9:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
== Examples ==
 +
Increase the point size by 1.
 +
<source lang="lua">
 +
local s = love.graphics.getPointSize() + 1
 +
love.graphics.setPointSize(s)
 +
</source>
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 17:36, 27 September 2011

Sets the point size.

Function

Synopsis

love.graphics.setPointSize( size )

Arguments

number size
The new point size.

Returns

Nothing.

Examples

Increase the point size by 1.

local s = love.graphics.getPointSize() + 1
love.graphics.setPointSize(s)

See Also


Other Languages