getWidth.lua 388 B

1234567891011121314151617
  1. return {
  2. summary = 'Get the width of the TextureData.',
  3. description = 'Returns the width of the TextureData, in pixels.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'width',
  8. type = 'number',
  9. description = 'The width of the TextureData, in pixels.'
  10. }
  11. },
  12. related = {
  13. 'TextureData:getHeight',
  14. 'TextureData:getDimensions',
  15. 'Texture:getWidth'
  16. }
  17. }