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