🖼️ gui_style_extensions

  1. colorize_draw: Рисует содержимое с заданным цветом.

    • Аргументы: GUIStyle source, Rect rect, GUIContent content, int id, Color color

  2. colorize_outlined_draw: Рисует текст с заданным цветом и обводкой.

    • Аргументы: GUIStyle source, Rect rect, string text, Color color, Color outlineColor, float offset

  3. colorize_draw: Рисует текст с заданным цветом.

    • Аргументы: GUIStyle source, Rect rect, string text, Color color

  4. colorize_draw_field: Рисует текстовое поле с заданным цветом.

    • Аргументы: GUIStyle source, Rect rect, string str, Color color

  5. calc_text_size: Вычисляет размер текста с использованием заданного стиля.

    • Аргументы: GUIStyle style, string text

Last updated