Difference between revisions of "Font"
m |
|||
Line 15: | Line 15: | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
− | |||
− | |||
[[Category:Types]] | [[Category:Types]] | ||
{{#set:Description=Can be used to draw text on screen.}} | {{#set:Description=Can be used to draw text on screen.}} |
Revision as of 09:56, 25 March 2011
Can be used to draw text on screen.
Constructors
love.graphics.newFont | Creates a new Font from a TrueType Font or BMFont file. |
love.graphics.newImageFont | Creates a new Font by loading a specifically formatted image. |
Functions
Body | Bodies are objects with velocity and position. |
CircleShape | Circle extends Shape and adds a radius and a local position. |
Contact | Contacts are objects created to manage collisions in worlds. |
Data | The superclass of all data. |
Decoder | An object which can gradually decode a sound file. |
DistanceJoint | Keeps two bodies at the same distance. |
Drawable | Superclass for all things that can be drawn on screen. |
File | Represents a file on the filesystem. |
FileData | Data representing the contents of a file. |
Font | Defines the shape of characters than can be drawn onto the screen. |
Font:getAscent | Gets the ascent of the Font in pixels. |
Font:getBaseline | Gets the baseline of the Font in pixels. |
Font:getDPIScale | Gets the DPI scale factor of the Font. |
Font:getDescent | Gets the descent of the Font in pixels. |
Font:getFilter | Gets the filter mode for a font. |
Font:getHeight | Gets the height of the Font in pixels. |
Font:getKerning | Gets the kerning between two characters in the Font. |
Font:getLineHeight | Gets the line height. |
Font:getWidth | Determines the width of the given text. |
Font:getWrap | Gets formatting information for text, given a wrap limit. |
Font:hasGlyphs | Gets whether the Font can render a character or string. |
Font:setFallbacks | Sets other Fonts to use if this Font doesn't have a specific character. |
Font:setFilter | Sets the filter mode for a font. |
Font:setLineHeight | Sets the line height. |
FontData | A FontData represents a font. |
Framebuffer | Off-screen render target. |
GearJoint | Keeps bodies together in such a way that they act like gears. |
GlyphData | A GlyphData represents a drawable symbol of a font. |
Image | Drawable image type. |
ImageData | Raw (decoded) image data. |
Joint | Attach multiple bodies together to interact in unique ways. |
MouseJoint | For controlling objects with the mouse. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
ParticleSystem | Used to create cool effects, like fire. |
PolygonShape | Polygon is a convex polygon with up to 8 sides. |
PrismaticJoint | Restricts relative motion between Bodies to one shared axis. |
PulleyJoint | Allows you to simulate bodies connected through pulleys. |
Quad | A quadrilateral with texture coordinate information. |
Rasterizer | A Rasterizer represents font data and glyphs. |
RevoluteJoint | Allow two Bodies to revolve around a shared point. |
Shape | Shapes are objects used to control mass and collisions. |
Shape (Français) | Les Shapes sont des objets pour contrôler les masses et les collisions. |
SoundData | Contains raw audio samples. |
Source | A Source represents audio you can play back. |
SpriteBatch | Store image positions in a buffer, and draw it in one call. |
SpriteBatch (Français) | Stock des positions d'image dans un tampon, puis les trace en un seul appel. |
Thread | A Thread represents a thread. |
World | A world is an object that contains all bodies and joints. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info