Nez.UI.Table.pad C# (CSharp) Метод

pad() публичный Метод

Sets the padTop, padLeft, padBottom, and padRight around the table to the specified value.
public pad ( Value pad ) : Table
pad Value Pad.
Результат Table
		public Table pad( Value pad )
		{
			if( pad == null )
				throw new Exception( "pad cannot be null." );
			
			_padTop = pad;
			_padLeft = pad;
			_padBottom = pad;
			_padRight = pad;
			_sizeInvalid = true;

			return this;
		}

Same methods

Table::pad ( Value top, Value left, Value bottom, Value right ) : Table
Table::pad ( float pad ) : Table
Table::pad ( float top, float left, float bottom, float right ) : Table