Font (Русский)

Может быть использован для рисования текста на экране.

Функции

Font:getAscent Gets the ascent of the Font in pixels.
Font:getBaseline Gets the baseline of the Font in pixels.
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: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:hasGlyphs Gets whether the Font can render a character or string.
Font:setFilter Sets the filter mode for a font.
Font:setLineHeight Sets the line height.

Смотрите также


Другие языки

Personal tools