Difference between revisions of "love.font.newTrueTypeRasterizer"

(Created page with "{{newin|0.7.0|070|type=function}} Creates a new Rasterizer. == Function == Create with default font. === Synopsis === <source lang="lua"> rasterizer = love.font.newRaster...")
 
Line 3: Line 3:
  
 
== Function ==
 
== Function ==
Create with default font.
+
Create a TrueTypeRasterizer with the default font.
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">

Revision as of 13:19, 6 February 2017

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Creates a new Rasterizer.

Function

Create a TrueTypeRasterizer with the default font.

Synopsis

rasterizer = love.font.newRasterizer( size )

Arguments

number size
The font size.

Returns

TrueTypeRasterizer rasterizer
The rasterizer.

See Also

Other Languages