Struct Thickness
Spacing around a box (points).
public readonly record struct Thickness : IEquatable<Thickness>
- Implements
- Inherited Members
Constructors
Thickness(double)
Creates a uniform thickness on all four sides.
public Thickness(double all)
Parameters
alldouble
Thickness(double, double)
Creates a thickness with horizontal for left and right and vertical for top and bottom.
public Thickness(double horizontal, double vertical)
Parameters
Thickness(double, double, double, double)
Spacing around a box (points).
public Thickness(double Left, double Top, double Right, double Bottom)
Parameters
Properties
Bottom
public double Bottom { get; init; }
Property Value
Horizontal
public double Horizontal { get; }
Property Value
Left
public double Left { get; init; }
Property Value
Right
public double Right { get; init; }
Property Value
Top
public double Top { get; init; }
Property Value
Vertical
public double Vertical { get; }
Property Value
Operators
implicit operator Thickness(double)
Converts a number to a uniform thickness on all four sides.
public static implicit operator Thickness(double all)
Parameters
alldouble