Nez.UI.Table.drawBackground C# (CSharp) Method

drawBackground() protected method

Called to draw the background, before clipping is applied (if enabled). Default implementation draws the background drawable.
protected drawBackground ( Graphics graphics, float parentAlpha, float x, float y ) : void
graphics Graphics Graphics.
parentAlpha float Parent alpha.
x float The x coordinate.
y float The y coordinate.
return void
		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, color.A * parentAlpha ) );
		}