2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-02-27 20:40:43 +08:00
|
|
|
<class name="DynamicFontData" inherits="Resource" category="Core" version="3.1">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2017-10-11 06:15:20 +08:00
|
|
|
Used with [DynamicFont] to describe the location of a font file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-11 06:15:20 +08:00
|
|
|
Used with [DynamicFont] to describe the location of a vector font file for dynamic rendering at runtime.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 14:49:40 +08:00
|
|
|
<member name="font_path" type="String" setter="set_font_path" getter="get_font_path">
|
2017-10-11 06:15:20 +08:00
|
|
|
The path to the vector font file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2018-03-02 05:23:18 +08:00
|
|
|
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting">
|
|
|
|
The font hinting mode used by FreeType.
|
|
|
|
</member>
|
2017-09-13 04:42:36 +08:00
|
|
|
</members>
|
|
|
|
<constants>
|
2018-03-02 05:23:18 +08:00
|
|
|
<constant name="HINTING_NONE" value="0" enum="Hinting">
|
|
|
|
Disable font hinting (smoother but less crisp).
|
|
|
|
</constant>
|
|
|
|
<constant name="HINTING_LIGHT" value="1" enum="Hinting">
|
|
|
|
Use the light font hinting mode.
|
|
|
|
</constant>
|
|
|
|
<constant name="HINTING_NORMAL" value="2" enum="Hinting">
|
|
|
|
Use the default font hinting mode (crisper but less smooth).
|
|
|
|
</constant>
|
2017-09-13 04:42:36 +08:00
|
|
|
</constants>
|
|
|
|
</class>
|