Table of Contents

Struct Corners

Namespace
Rustaveli.Pdf
Assembly
Rustaveli.Pdf.dll

Per-corner radii in PDF points, for rounded fills and strokes: clockwise from the top left.

public readonly record struct Corners : IEquatable<Corners>
Implements
Inherited Members

Constructors

Corners(float, float, float, float)

Per-corner radii in PDF points, for rounded fills and strokes: clockwise from the top left.

public Corners(float TopLeft, float TopRight, float BottomRight, float BottomLeft)

Parameters

TopLeft float
TopRight float
BottomRight float
BottomLeft float

Properties

BottomLeft

public float BottomLeft { get; init; }

Property Value

float

BottomRight

public float BottomRight { get; init; }

Property Value

float

IsRounded

Whether any corner is rounded.

public bool IsRounded { get; }

Property Value

bool

TopLeft

public float TopLeft { get; init; }

Property Value

float

TopRight

public float TopRight { get; init; }

Property Value

float

Zero

public static Corners Zero { get; }

Property Value

Corners

Methods

All(float)

public static Corners All(float radius)

Parameters

radius float

Returns

Corners

WithBottomLeft(float)

public Corners WithBottomLeft(float radius)

Parameters

radius float

Returns

Corners

WithBottomRight(float)

public Corners WithBottomRight(float radius)

Parameters

radius float

Returns

Corners

WithTopLeft(float)

public Corners WithTopLeft(float radius)

Parameters

radius float

Returns

Corners

WithTopRight(float)

public Corners WithTopRight(float radius)

Parameters

radius float

Returns

Corners