Table of Contents

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

Left float
Top float
Right float
Bottom float

Properties

Bottom

public float Bottom { get; init; }

Property Value

float

Horizontal

public float Horizontal { get; }

Property Value

float

Left

public float Left { get; init; }

Property Value

float

Right

public float Right { get; init; }

Property Value

float

Top

public float Top { get; init; }

Property Value

float

Vertical

public float Vertical { get; }

Property Value

float

Zero

public static Sides Zero { get; }

Property Value

Sides

Methods

All(float)

public static Sides All(float value)

Parameters

value float

Returns

Sides

Symmetric(float, float)

public static Sides Symmetric(float horizontal, float vertical)

Parameters

horizontal float
vertical float

Returns

Sides

WithBottom(float)

public Sides WithBottom(float value)

Parameters

value float

Returns

Sides

WithLeft(float)

public Sides WithLeft(float value)

Parameters

value float

Returns

Sides

WithRight(float)

public Sides WithRight(float value)

Parameters

value float

Returns

Sides

WithTop(float)

public Sides WithTop(float value)

Parameters

value float

Returns

Sides