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
elementElementThe element that is being drawn
timeGameTimeThe game's time
batchSpriteBatchThe sprite batch used for drawing
alphafloatThe alpha this element is drawn with
contextSpriteBatchContextThe sprite batch context to use for drawing