Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Nested delegate: RT.Util.EggsML.EggRender<TState>

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

TStatestate The state (font, color, etc.) the string is in.
stringtext The string to render.
intwidth The measured width of the string.

Generic type parameters

TState The type of the text state, e.g. font or color.