Table of Contents

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

all int

Margin(int, int)

One margin for left and right, another for top and bottom.

public Margin(int horizontal, int vertical)

Parameters

horizontal int
vertical int

Margin(int, int, int, int)

Spacing on each side of a rect.

public Margin(int Left, int Top, int Right, int Bottom)

Parameters

Left int

Columns on the left.

Top int

Rows on the top.

Right int

Columns on the right.

Bottom int

Rows on the bottom.

Properties

Bottom

Rows on the bottom.

public int Bottom { get; init; }

Property Value

int

Left

Columns on the left.

public int Left { get; init; }

Property Value

int

Right

Columns on the right.

public int Right { get; init; }

Property Value

int

Top

Rows on the top.

public int Top { get; init; }

Property Value

int