.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/FontVariation.xml. .. _class_FontVariation: FontVariation ============= **Inherits:** :ref:`Font` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Font` | :ref:`base_font` | | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`baseline_offset` | ``0.0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Dictionary` | :ref:`opentype_features` | ``{}`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`spacing_bottom` | ``0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`spacing_glyph` | ``0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`spacing_space` | ``0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`spacing_top` | ``0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`variation_embolden` | ``0.0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`variation_face_index` | ``0`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Dictionary` | :ref:`variation_opentype` | ``{}`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Transform2D` | :ref:`variation_transform` | ``Transform2D(1, 0, 0, 1, 0, 0)`` | +---------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_spacing` **(** :ref:`SpacingType` spacing, :ref:`int` value **)** | +------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_FontVariation_property_base_font: .. rst-class:: classref-property :ref:`Font` **base_font** .. rst-class:: classref-property-setget - void **set_base_font** **(** :ref:`Font` value **)** - :ref:`Font` **get_base_font** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_baseline_offset: .. rst-class:: classref-property :ref:`float` **baseline_offset** = ``0.0`` .. rst-class:: classref-property-setget - void **set_baseline_offset** **(** :ref:`float` value **)** - :ref:`float` **get_baseline_offset** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_opentype_features: .. rst-class:: classref-property :ref:`Dictionary` **opentype_features** = ``{}`` .. rst-class:: classref-property-setget - void **set_opentype_features** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_opentype_features** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_spacing_bottom: .. rst-class:: classref-property :ref:`int` **spacing_bottom** = ``0`` .. rst-class:: classref-property-setget - void **set_spacing** **(** :ref:`SpacingType` spacing, :ref:`int` value **)** - :ref:`int` **get_spacing** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_spacing_glyph: .. rst-class:: classref-property :ref:`int` **spacing_glyph** = ``0`` .. rst-class:: classref-property-setget - void **set_spacing** **(** :ref:`SpacingType` spacing, :ref:`int` value **)** - :ref:`int` **get_spacing** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_spacing_space: .. rst-class:: classref-property :ref:`int` **spacing_space** = ``0`` .. rst-class:: classref-property-setget - void **set_spacing** **(** :ref:`SpacingType` spacing, :ref:`int` value **)** - :ref:`int` **get_spacing** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_spacing_top: .. rst-class:: classref-property :ref:`int` **spacing_top** = ``0`` .. rst-class:: classref-property-setget - void **set_spacing** **(** :ref:`SpacingType` spacing, :ref:`int` value **)** - :ref:`int` **get_spacing** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_variation_embolden: .. rst-class:: classref-property :ref:`float` **variation_embolden** = ``0.0`` .. rst-class:: classref-property-setget - void **set_variation_embolden** **(** :ref:`float` value **)** - :ref:`float` **get_variation_embolden** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_variation_face_index: .. rst-class:: classref-property :ref:`int` **variation_face_index** = ``0`` .. rst-class:: classref-property-setget - void **set_variation_face_index** **(** :ref:`int` value **)** - :ref:`int` **get_variation_face_index** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_variation_opentype: .. rst-class:: classref-property :ref:`Dictionary` **variation_opentype** = ``{}`` .. rst-class:: classref-property-setget - void **set_variation_opentype** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_variation_opentype** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_FontVariation_property_variation_transform: .. rst-class:: classref-property :ref:`Transform2D` **variation_transform** = ``Transform2D(1, 0, 0, 1, 0, 0)`` .. rst-class:: classref-property-setget - void **set_variation_transform** **(** :ref:`Transform2D` value **)** - :ref:`Transform2D` **get_variation_transform** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_FontVariation_method_set_spacing: .. rst-class:: classref-method void **set_spacing** **(** :ref:`SpacingType` spacing, :ref:`int` value **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`