diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2018-03-01 22:23:18 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2018-03-01 22:23:18 +0100 |
commit | a0ddd6122c988880c0f4f37c4d0b22293d906861 (patch) | |
tree | ef5ca9b19b88c6549fa64f65767edc36be2565be | |
parent | c1544c12efe72dd584429e115ff484428f27e759 (diff) |
Add documentation for the DynamicFont hinting property
-rw-r--r-- | doc/classes/DynamicFontData.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/DynamicFontData.xml b/doc/classes/DynamicFontData.xml index 6113b0616b..3098995632 100644 --- a/doc/classes/DynamicFontData.xml +++ b/doc/classes/DynamicFontData.xml @@ -16,7 +16,19 @@ <member name="font_path" type="String" setter="set_font_path" getter="get_font_path"> The path to the vector font file. </member> + <member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting"> + The font hinting mode used by FreeType. + </member> </members> <constants> + <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> </constants> </class> |