Difference between revisions of "Text (Français)"

(Created page with "{{newin (Français)|0.10.0|100|type=type}} Texte pouvant être tracé. {{notice (Français)|Text (texte) peut apparaître flou si il est rendu à une position de pixel no...")
 
Line 30: Line 30:
 
== Voir également ==
 
== Voir également ==
 
* [[parent::love.graphics (Français)]]
 
* [[parent::love.graphics (Français)]]
* [[Font]]
+
* [[Font (Français)]]
* [[love.graphics.draw]]
+
* [[love.graphics.draw (Français)]]
[[Category:Types]]
+
[[Category:Types (Français)]]
 
{{#set:Description=Texte pouvant être tracé.}}
 
{{#set:Description=Texte pouvant être tracé.}}
 
== Autres langues ==
 
== Autres langues ==
 
{{i18n|Text}}
 
{{i18n|Text}}

Revision as of 13:34, 28 December 2020

Disponible depuis LÖVE 0.10.0
Ce-tte type n'est pas supporté-e par des versions plus anciennes.

Texte pouvant être tracé.

O.png Text (texte) peut apparaître flou si il est rendu à une position de pixel non-entière.  


Constructeurs

love.graphics.newText Creates a new drawable Text object. Added since 0.10.0

Fonctions

Object:release Immediately destroys the object's Lua reference. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.
Text:add Adds additional colored text to the Text object at the specified position. Added since 0.10.0
Text:addf Adds additional formatted / colored text to the Text object at the specified position. Added since 0.10.0
Text:clear Clears the contents of the Text object. Added since 0.10.0
Text:getDimensions Gets the width and height of the text. Added since 0.10.1
Text:getFont Gets the Font used with the Text object. Added since 0.10.0
Text:getHeight Gets the height of the text. Added since 0.10.0
Text:getWidth Gets the width of the text. Added since 0.10.0
Text:set Replaces the contents of the Text object with a new string. Added since 0.10.0
Text:setFont Replaces the Font used with the text. Added since 0.10.0
Text:setf Replaces the contents of the Text object with a new formatted string. Added since 0.10.0

Supertypes

Voir également

Autres langues