public float GetPreferredWidth (string str, TextGenerationSettings settings);

파라미터

strGeneration text.
settingsSettings for generation.

반환

float Preferred width.

설명

Given a string and settings, returns the preferred width for a container that would hold this text.