<?xml version="1.0" encoding="UTF-8" ?>
<class name="TLFontFace" inherits="Resource" category="Core" version="3.2">
	<brief_description>
		*Virtual class*

		A base font face class.
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="draw_glyph" qualifiers="const">
			<return type="void">
			</return>
			<argument index="0" name="canvas_item" type="RID">
			</argument>
			<argument index="1" name="pos" type="Vector2">
			</argument>
			<argument index="2" name="codepoint" type="int">
			</argument>
			<argument index="3" name="modulate" type="Color">
			</argument>
			<argument index="4" name="size" type="int">
			</argument>
			<description>
				Draws a single glyph.
			</description>
		</method>
		<method name="draw_glyph_outline" qualifiers="const">
			<return type="void">
			</return>
			<argument index="0" name="canvas_item" type="RID">
			</argument>
			<argument index="1" name="pos" type="Vector2">
			</argument>
			<argument index="2" name="codepoint" type="int">
			</argument>
			<argument index="3" name="modulate" type="Color">
			</argument>
			<argument index="4" name="size" type="int">
			</argument>
			<description>
				Draws single glyph outline.
			</description>
		</method>
		<method name="get_ascent" qualifiers="const">
			<return type="float">
			</return>
			<argument index="0" name="size" type="int">
			</argument>
			<description>
				Returns ascent (distance from the baseline to the highest position characters extend to) of the font.
			</description>
		</method>
		<method name="get_base_size" qualifiers="const">
			<return type="int">
			</return>
			<description>
				Returns default font size for bitmap fonts or [code]0[/code] for dynamic fonts.
			</description>
		</method>
		<method name="get_descent" qualifiers="const">
			<return type="float">
			</return>
			<argument index="0" name="size" type="int">
			</argument>
			<description>
				Returns descent (distance from the base line to the lowest point characters extend to) of the font.
			</description>
		</method>
		<method name="get_glyph_outline" qualifiers="const">
			<return type="Array">
			</return>
			<argument index="0" name="pos" type="Vector2">
			</argument>
			<argument index="1" name="codepoint" type="int">
			</argument>
			<argument index="2" name="size" type="int">
			</argument>
			<description>
				Returns array of glyph counture points, if it's supported by font implementation or empty array otherwise.
			</description>
		</method>
		<method name="get_height" qualifiers="const">
			<return type="float">
			</return>
			<argument index="0" name="size" type="int">
			</argument>
			<description>
				Returns height (vertical distance between two consecutive baselines) of the font.
			</description>
		</method>
		<method name="load">
			<return type="bool">
			</return>
			<argument index="0" name="resource_path" type="String">
			</argument>
			<description>
				Loads font from speified file.
			</description>
		</method>
		<method name="unicode_scripts_supported" qualifiers="const">
			<return type="Array">
			</return>
			<description>
				Returns array of supported ISO 15924 script codes.
			</description>
		</method>
	</methods>
	<members>
		<member name="font_path" type="String" setter="set_font_path" getter="get_font_path" default="&quot;&quot;">
			Path of the font file.
		</member>
		<member name="texture_flags" type="int" setter="set_texture_flags" getter="get_texture_flags" default="0">
			Underlaying textures flags, see Texture class documentation https://docs.godotengine.org/en/latest/classes/class_texture.html#enumerations for more info.
		</member>
	</members>
	<constants>
	</constants>
</class>
