Font

Defines the shape of characters than can be drawn onto the screen.

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:getWrap Returns how many lines text would be wrapped to.
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

Personal tools