Padding Struct

Represents padding.
public struct Padding : ValueType, IEquatable<Padding>
Namespace
Spectre.Console
Interfaces
Base Types
  • ValueType

Constructors

Padding(int, int, int, int)
Initializes a new instance of the Padding struct.
Padding(int, int)
Initializes a new instance of the Padding struct.
Padding(int)
Initializes a new instance of the Padding struct.

Properties

int Bottom
Gets the bottom padding.
int Left
Gets the left padding.
int Right
Gets the right padding.
int Top
Gets the top padding.

Methods

override bool Equals(object)
override int GetHashCode()
int GetHeight()
Gets the padding height.
int GetWidth()
Gets the padding width.