PadTop<T>(T, int) Method
Sets the top padding.
public static T PadTop<T>(this T obj, int top) where T : class, IPaddable
- Namespace
- Spectre
.Console - Containing Type
- PaddableExtensions
Parameters
-
T
- An object implementing
IPaddable
.
Parameters
- T obj
- The paddable object instance.
- int top
- The top padding.
Returns
- T