Struct Padding
Assembly: Ritchie.Toolbox.dll
Constructors
Declaration
public Padding(int uniform)
Parameters
Type |
Name |
Description |
int |
uniform |
|
Declaration
public Padding(int horizontal, int vertical)
Parameters
Type |
Name |
Description |
int |
horizontal |
|
int |
vertical |
|
Declaration
public Padding(int left, int top, int right, int bottom)
Parameters
Fields
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Properties
Declaration
public Point BottomLeft { get; }
Property Value
Declaration
public Point BottomRight { get; }
Property Value
Declaration
public int Horizontal { get; }
Property Value
Declaration
public Point Size { get; }
Property Value
Declaration
public Point TopLeft { get; }
Property Value
Declaration
public Point TopRight { get; }
Property Value
Declaration
public int Vertical { get; }
Property Value
Methods
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
Declaration
public static bool operator ==(Padding left, Padding right)
Parameters
Returns
Declaration
public static implicit operator Padding(int uniform)
Parameters
Type |
Name |
Description |
int |
uniform |
|
Returns
Declaration
public static bool operator !=(Padding left, Padding right)
Parameters
Returns