immersive-home/docs/reference/lib--utils--font_tools.md

27 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-03-16 19:45:43 +02:00
# FontTools
**Inherits:** [RefCounted](https://docs.godotengine.org/de/4.x/classes/class_refcounted.html)
2024-03-16 19:45:43 +02:00
## Methods
| Returns | Name |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
2024-04-26 18:41:52 +03:00
| [Vector2](https://docs.godotengine.org/de/4.x/classes/class_vector2.html) | [get_font_size](#get-font-size) ( label: [Label3D](https://docs.godotengine.org/de/4.x/classes/class_label3d.html), chars: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) |
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
2024-03-16 19:45:43 +02:00
## Method Descriptions
2024-04-26 18:41:52 +03:00
### static get_font_size (label: [Label3D](https://docs.godotengine.org/de/4.x/classes/class_label3d.html) , chars: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) -> [Vector2](https://docs.godotengine.org/de/4.x/classes/class_vector2.html) {#get-font-size}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Returns the size of a Label3D in standard units