Gonzo.Elements.UIElement.Draw C# (CSharp) Method

Draw() public method

Handles drawing logic for this UIElement.
public Draw ( SpriteBatch SBatch, Rectangle SourceRect, float LayerDepth ) : void
SBatch Microsoft.Xna.Framework.Graphics.SpriteBatch A SpriteBatch instance.
SourceRect Microsoft.Xna.Framework.Rectangle A source rectangle, for controlling which part of this elenent's texture is drawn.
LayerDepth float Depth at which to draw, may be null.
return void
        public virtual void Draw(SpriteBatch SBatch, Rectangle? SourceRect, float? LayerDepth)
        {
        }

Same methods

UIElement::Draw ( SpriteBatch SBatch, Rectangle SourceRect, float LayerDepth, Vector2 ScaleFactor ) : void
UIElement::Draw ( SpriteBatch SBatch, float LayerDepth ) : void