TextGenerator.GetPreferredHeight
Parameters
| str | Generation text. | |
| settings | Settings for generation. |
Returns
float Preferred height.
Description 描述
Given a string and settings, returns the preferred height for a container that would hold this text.
| str | Generation text. | |
| settings | Settings for generation. |
float Preferred height.
Given a string and settings, returns the preferred height for a container that would hold this text.