Nez.Portable/UI/Containers/Table.cs
/// <summary>
/// Called to draw the background, before clipping is applied (if enabled). Default implementation draws the background
/// drawable.
/// </summary>
/// <param name="graphics">Graphics.</param>
/// <param name="parentAlpha">Parent alpha.</param>
/// <param name="x">The x coordinate.</param>
/// <param name="y">The y coordinate.</param>
Called to draw the background, before clipping is applied (if enabled). Default implementation draws the background
drawable.
Called to draw the background before clipping is applied ( if enabled ) . Default implementation draws the background drawable .
protected virtual void drawBackground(Graphics graphics, float parentAlpha, float x, float y)
        {
            if (_background == null)
                return;
            _background.draw(graphics, x, y, width, height, new Color(color, (int)(color.A * parentAlpha)));
        }
protected virtual void drawBackground ( Graphics graphics , float parentAlpha , float x , float y ) { if ( _background == null ) return ; _background . draw ( graphics , x , y , width , height , new Color ( color , ( int ) ( color . A * parentAlpha ) ) ) ; }
Called to draw the background, before clipping is applied (if enabled).
Called to draw the background before clipping is applied ( if enabled ) .
graphics
Graphics
None
parentAlpha
float
None
x
float
The x coordinate.
The x coordinate .
y
float
The y coordinate.
The y coordinate .