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
Properties
BottomLeft
public float BottomLeft { get; init; }
Property Value
BottomRight
public float BottomRight { get; init; }
Property Value
IsRounded
Whether any corner is rounded.
public bool IsRounded { get; }
Property Value
TopLeft
public float TopLeft { get; init; }
Property Value
TopRight
public float TopRight { get; init; }
Property Value
Zero
public static Corners Zero { get; }
Property Value
Methods
All(float)
public static Corners All(float radius)
Parameters
radiusfloat
Returns
WithBottomLeft(float)
public Corners WithBottomLeft(float radius)
Parameters
radiusfloat
Returns
WithBottomRight(float)
public Corners WithBottomRight(float radius)
Parameters
radiusfloat
Returns
WithTopLeft(float)
public Corners WithTopLeft(float radius)
Parameters
radiusfloat
Returns
WithTopRight(float)
public Corners WithTopRight(float radius)
Parameters
radiusfloat