Difference between revisions of "love.graphics.setPointSize"

m
m (Fix links.)
Line 1: Line 1:
Sets the [[love.graphics.setPoint|point]] size.
+
Sets the [[love.graphics.point|point]] size.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 18: Line 18:
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
* [[love.graphics.point]]
 
* [[love.graphics.point]]
* [[love.graphics.setPoint]]
 
 
* [[love.graphics.setPointStyle]]
 
* [[love.graphics.setPointStyle]]
 
* [[love.graphics.getPointSize]]
 
* [[love.graphics.getPointSize]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the point size.}}
+
{{#set:Description=Sets the [[love.graphics.point|point]] size.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
{{#set:Sub-Category=State}}
 
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.setPointSize}}
 
{{i18n|love.graphics.setPointSize}}

Revision as of 13:58, 5 November 2014

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, by using love.graphics.getPointSize.

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

See Also


Other Languages