2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 02:03:48 +01:00
|
|
|
<class name="DynamicFontData" inherits="Resource" version="4.0">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-10-11 00:15:20 +02:00
|
|
|
Used with [DynamicFont] to describe the location of a font file.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-11 00:15:20 +02:00
|
|
|
Used with [DynamicFont] to describe the location of a vector font file for dynamic rendering at runtime.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="antialiased" type="bool" setter="set_antialiased" getter="is_antialiased" default="true">
|
2020-01-02 02:08:19 +01:00
|
|
|
If [code]true[/code], the font is rendered with anti-aliasing.
|
2018-11-10 22:07:32 +01:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="font_path" type="String" setter="set_font_path" getter="get_font_path" default="""">
|
2017-10-11 00:15:20 +02:00
|
|
|
The path to the vector font file.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting" default="2">
|
2020-01-02 02:08:19 +01:00
|
|
|
The font hinting mode used by FreeType. See [enum Hinting] for options.
|
2018-03-01 22:23:18 +01:00
|
|
|
</member>
|
2017-09-12 22:42:36 +02:00
|
|
|
</members>
|
|
|
|
<constants>
|
2018-03-01 22:23:18 +01:00
|
|
|
<constant name="HINTING_NONE" value="0" enum="Hinting">
|
2019-06-22 01:04:47 +02:00
|
|
|
Disables font hinting (smoother but less crisp).
|
2018-03-01 22:23:18 +01:00
|
|
|
</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-12 22:42:36 +02:00
|
|
|
</constants>
|
|
|
|
</class>
|