Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
Public Member Functions

Font Class Reference

A text font, that can be loaded from a file. More...

#include <header.hpp>

List of all members.

Public Member Functions

 Font ()
 Constructor to create an empty font.
 Font (string filename)
 Create a font and load it from a file.
nil LoadFromFile (string filename)
 Load a texture from a file.

Detailed Description

A text font, that can be loaded from a file.


Constructor & Destructor Documentation

Font::Font ( )

Constructor to create an empty font.

Font::Font ( string  filename)

Create a font and load it from a file.


Member Function Documentation

nil Font::LoadFromFile ( string  filename)

Load a texture from a file.

Note: the working directory is the mode's root directory.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables