func_maxgui_text_fontstyle.rst 749 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. _func_maxgui_text_fontstyle:
  2. =========
  3. FontStyle
  4. =========
  5. FontStyle -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. FontStyle(font:TGuiFont)
  10. Retrieves the corresponding property from the TGuiFont type instance.
  11. The returned value will be a combination of the following flags:
  12. [ @Constant | @{Font Style}
  13. * FONT_BOLD | Bold
  14. * FONT_ITALIC | Italic
  15. * FONT_UNDERLINE | Underlined
  16. * FONT_STRIKETHROUGH | *StrikeThrough
  17. ]
  18. %{Note: FONT_STRIKETHROUGH isn't fully supported by all gadgets/platforms.}
  19. See Also: #LoadGuiFont, #RequestFont, #FontName and #FontSize
  20. Parameters
  21. ==========
  22. Return Values
  23. =============
  24. An integer representing the style of the font (e.g. Bold, Underlined, Italics).
  25. Examples
  26. ========
  27. See Also
  28. ========