hasGlyphs.lua 655 B

123456789101112131415161718192021222324252627
  1. return {
  2. summary = 'Get whether the Rasterizer can rasterize a set of glyphs.',
  3. description = 'Returns whether the Rasterizer can rasterize a set of glyphs.',
  4. arguments = {
  5. ['...'] = {
  6. type = '*',
  7. description = 'Strings (sets of characters) or numbers (character codes) to check for.'
  8. }
  9. },
  10. returns = {
  11. hasGlyphs = {
  12. type = 'boolean',
  13. description = [[
  14. true if the Rasterizer can rasterize all of the supplied characters, false otherwise.
  15. ]]
  16. }
  17. },
  18. variants = {
  19. {
  20. arguments = { '...' },
  21. returns = { 'hasGlyphs' }
  22. }
  23. },
  24. related = {
  25. 'Rasterizer:getGlyphCount'
  26. }
  27. }