Function CharFXTransform.env
Contains the arguments passed in the opening BBCode tag. By default, arguments are strings; if their contents match a type such as bool
, long
or double
, they will be converted automatically. Color codes in the form #rrggbb
or #rgb
will be converted to an opaque Color
. String arguments may not contain spaces, even if they're quoted. If present, quotes will also be present in the final string.
For example, the opening BBCode tag class="pln">D example foo=hello bar=true baz=42 color=#ffffff
will map to the following Dictionary
:
{"foo": "hello", "bar": true, "baz": 42, "color": Color(1, 1, 1, 1)}