DynamicFontData.xml 1022 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="DynamicFontData" inherits="Resource" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Used with [DynamicFont] to describe the location of a font file.
  5. </brief_description>
  6. <description>
  7. Used with [DynamicFont] to describe the location of a vector font file for dynamic rendering at runtime.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_font_path" qualifiers="const">
  15. <return type="String">
  16. </return>
  17. <description>
  18. Returns the font path.
  19. </description>
  20. </method>
  21. <method name="set_font_path">
  22. <return type="void">
  23. </return>
  24. <argument index="0" name="path" type="String">
  25. </argument>
  26. <description>
  27. Sets the font path.
  28. </description>
  29. </method>
  30. </methods>
  31. <members>
  32. <member name="font_path" type="String" setter="set_font_path" getter="get_font_path">
  33. The path to the vector font file.
  34. </member>
  35. </members>
  36. <constants>
  37. </constants>
  38. </class>