Struct VerticalMargin
Assembly: Terminaux.dll
Syntax
public struct VerticalMargin
Constructors
|
Edit this page
View Source
VerticalMargin(int, int, int)
Makes a new vertical margin instance
Declaration
public VerticalMargin(int top, int bottom, int height)
Parameters
Type |
Name |
Description |
int |
top |
A top margin
|
int |
bottom |
A bottom margin
|
int |
height |
Height to subtract from to get margins
|
|
Edit this page
View Source
VerticalMargin(VerticalPad, int)
Makes a new vertical margin instance
Declaration
public VerticalMargin(VerticalPad margins, int height)
Parameters
Type |
Name |
Description |
VerticalPad |
margins |
Margins
|
int |
height |
Height to subtract from to get margins
|
Properties
|
Edit this page
View Source
Height
Gets the final height with margins applied
Declaration
public readonly int Height { get; }
Property Value
|
Edit this page
View Source
Margins
Declaration
public readonly VerticalPad Margins { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
System.ValueType.Equals(object)
|
Edit this page
View Source
Equals(VerticalMargin)
Declaration
public bool Equals(VerticalMargin other)
Parameters
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
Operators
|
Edit this page
View Source
operator ==(VerticalMargin, VerticalMargin)
Declaration
public static bool operator ==(VerticalMargin left, VerticalMargin right)
Parameters
Returns
|
Edit this page
View Source
operator !=(VerticalMargin, VerticalMargin)
Declaration
public static bool operator !=(VerticalMargin left, VerticalMargin right)
Parameters
Returns