Delegate Element.DrawCallback
A delegate used inside of Draw(GameTime, SpriteBatch, float, SpriteBatchContext)
public delegate void Element.DrawCallback(Element element, GameTime time, SpriteBatch batch, float alpha, SpriteBatchContext context)
Parameters
element
ElementThe element that is being drawn
time
GameTimeThe game's time
batch
SpriteBatchThe sprite batch used for drawing
alpha
floatThe alpha this element is drawn with
context
SpriteBatchContextThe sprite batch context to use for drawing