Declaration
delegate void RT.Util.EggsML.EggRender<TState>(
TState state,
string text,
int width
)
Summary
Provides a delegate for
EggsML.WordWrap<TState>(EggsNode, TState, int, EggsML.EggMeasure<TState>, EggsML.EggRender<TState>, EggsML.EggNextLine<TState>, EggsML.EggNextState<TState>) which renders a piece of text.
Parameters
TState | state |
The state (font, color, etc.) the string is in. |
string | text |
The string to render. |
int | width |
The measured width of the string. |
Generic type parameters
TState |
The type of the text state, e.g. font or color. |