Struct Margin
- Namespace
- MiniTui
- Assembly
- MiniTui.dll
Spacing on each side of a rect.
public readonly record struct Margin : IEquatable<Margin>
- Implements
- Inherited Members
Constructors
Margin(int)
The same margin on all four sides.
public Margin(int all)
Parameters
allint
Margin(int, int)
One margin for left and right, another for top and bottom.
public Margin(int horizontal, int vertical)
Parameters
Margin(int, int, int, int)
Spacing on each side of a rect.
public Margin(int Left, int Top, int Right, int Bottom)
Parameters
LeftintColumns on the left.
TopintRows on the top.
RightintColumns on the right.
BottomintRows on the bottom.
Properties
Bottom
Rows on the bottom.
public int Bottom { get; init; }
Property Value
Left
Columns on the left.
public int Left { get; init; }
Property Value
Right
Columns on the right.
public int Right { get; init; }
Property Value
Top
Rows on the top.
public int Top { get; init; }