Spec-Zone.ru › LÖVE

Texture:getWidth

Gets the width of the Texture.

Function

Synopsis

width = Texture:getWidth( )

Arguments

None.

Returns

number width
The width of the Texture, in pixels.

See Also

  • Texture
  • Texture:getHeight
  • Texture:getDimensions


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Texture:getWidth

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API