Font

Can be used to draw text on screen.

Contents

Constructors

love.graphics.newFont Creates a new Font.
love.graphics.newImageFont Creates a new font by loading a specifically formatted image.

Functions

Font:getHeight Gets the height of the Font in pixels.
Font:getLineHeight Gets the line height.
Font:getWidth Determines the horizontal size a line of text needs.
Font:setLineHeight Sets the line height.
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Object

See Also


Other Languages

Retrieved from "http://love2d.org/wiki/Font"
Personal tools