Struct Sides
- Namespace
- Rustaveli.Pdf
- Assembly
- Rustaveli.Pdf.dll
Per-side lengths in PDF points, used for padding and border widths.
public readonly record struct Sides : IEquatable<Sides>
- Implements
- Inherited Members
Constructors
Sides(float, float, float, float)
Per-side lengths in PDF points, used for padding and border widths.
public Sides(float Left, float Top, float Right, float Bottom)
Parameters
Properties
Bottom
public float Bottom { get; init; }
Property Value
Horizontal
public float Horizontal { get; }
Property Value
Left
public float Left { get; init; }
Property Value
Right
public float Right { get; init; }
Property Value
Top
public float Top { get; init; }
Property Value
Vertical
public float Vertical { get; }
Property Value
Zero
public static Sides Zero { get; }
Property Value
Methods
All(float)
public static Sides All(float value)
Parameters
valuefloat
Returns
Symmetric(float, float)
public static Sides Symmetric(float horizontal, float vertical)
Parameters
Returns
WithBottom(float)
public Sides WithBottom(float value)
Parameters
valuefloat
Returns
WithLeft(float)
public Sides WithLeft(float value)
Parameters
valuefloat
Returns
WithRight(float)
public Sides WithRight(float value)
Parameters
valuefloat
Returns
WithTop(float)
public Sides WithTop(float value)
Parameters
valuefloat