Difference between revisions of "Font (Français)"
(→Constructeurs) |
|||
Line 2: | Line 2: | ||
== Constructeurs == | == Constructeurs == | ||
− | {{#ask: [[Category:Functions]] [[Constructs::Font]] [[Concept:Current]] | + | {{#ask: [[Category:Functions (Français)]] [[Constructs::Font (Français)]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| default=None. | | default=None. | ||
Line 13: | Line 13: | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
}} | }} | ||
+ | |||
== Fonctions == | == Fonctions == | ||
{{#ask: [[Category:Functions]] [[parent::Font||Object]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::Font||Object]] [[Concept:Current]] |
Revision as of 12:49, 5 March 2022
Définit la forme de caractères qui peuvent être tracés à l'écran.
Constructeurs
love.graphics.newFont (Français) | Crée une nouvelle Fonte depuis un fichier de fonte TrueType ou BMFont. | ||
love.graphics.newImageFont (Français) | Crée une nouvelle Fonte en chargeant une image formatée spécifiquement. | 0.2.0 |
Fonctions
Font:getAscent | Gets the ascent of the Font in pixels. | 0.9.0 | |
Font:getBaseline | Gets the baseline of the Font in pixels. | 0.9.0 | |
Font:getDPIScale | Gets the DPI scale factor of the Font. | 11.0 | |
Font:getDescent | Gets the descent of the Font in pixels. | 0.9.0 | |
Font:getFilter | Gets the filter mode for a font. | 0.9.0 | |
Font:getHeight | Gets the height of the Font in pixels. | ||
Font:getKerning | Gets the kerning between two characters in the Font. | 11.4 | |
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. | 0.7.0 | |
Font:hasGlyphs | Gets whether the Font can render a character or string. | 0.9.0 | |
Font:setFallbacks | Sets other Fonts to use if this Font doesn't have a specific character. | 0.10.0 | |
Font:setFilter | Sets the filter mode for a font. | 0.9.0 | |
Font:setLineHeight | Sets the line height. | ||
Object:release | Immediately destroys the object's Lua reference. | 11.0 | |
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
Voir également
Autres langues
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