TextAttributes

Options for drawing text.

Header#include "nativeui/gfx/text.h"
Namespacenamespace nu
Typestruct
InheritsTextFormat

Properties

scoped_refptr<Font> font (optional)

Font for drawing text, default is system UI font.

Color color (optional)

Text color, default is system UI text color.