PdfCornerRadii struct
Namespace: PdfNetStack.Drawing
Assembly: PdfNetStack.dll
Package: PdfNetStack
Corner radii of a rounded rectangle, each with a horizontal and a vertical radius.
public readonly record struct PdfCornerRadii : IEquatable<PdfCornerRadii>Implements
Constructors
Section titled “Constructors”PdfCornerRadii(double, double, double, double, double, double, double, double)
Section titled “ PdfCornerRadii(double, double, double, double, double, double, double, double)”Corner radii of a rounded rectangle, each with a horizontal and a vertical radius.
public PdfCornerRadii(double TopLeftX, double TopLeftY, double TopRightX, double TopRightY, double BottomRightX, double BottomRightY, double BottomLeftX, double BottomLeftY)Parameters
Section titled “Parameters”TopLeftX double
Horizontal radius of the top left corner.
TopLeftY double
Vertical radius of the top left corner.
TopRightX double
Horizontal radius of the top right corner.
TopRightY double
Vertical radius of the top right corner.
BottomRightX double
Horizontal radius of the bottom right corner.
BottomRightY double
Vertical radius of the bottom right corner.
BottomLeftX double
Horizontal radius of the bottom left corner.
BottomLeftY double
Vertical radius of the bottom left corner.
Properties
Section titled “Properties”BottomLeftX
Section titled “ BottomLeftX”Horizontal radius of the bottom left corner.
public double BottomLeftX { get; init; }Property Value
Section titled “Property Value”BottomLeftY
Section titled “ BottomLeftY”Vertical radius of the bottom left corner.
public double BottomLeftY { get; init; }Property Value
Section titled “Property Value”BottomRightX
Section titled “ BottomRightX”Horizontal radius of the bottom right corner.
public double BottomRightX { get; init; }Property Value
Section titled “Property Value”BottomRightY
Section titled “ BottomRightY”Vertical radius of the bottom right corner.
public double BottomRightY { get; init; }Property Value
Section titled “Property Value”TopLeftX
Section titled “ TopLeftX”Horizontal radius of the top left corner.
public double TopLeftX { get; init; }Property Value
Section titled “Property Value”TopLeftY
Section titled “ TopLeftY”Vertical radius of the top left corner.
public double TopLeftY { get; init; }Property Value
Section titled “Property Value”TopRightX
Section titled “ TopRightX”Horizontal radius of the top right corner.
public double TopRightX { get; init; }Property Value
Section titled “Property Value”TopRightY
Section titled “ TopRightY”Vertical radius of the top right corner.
public double TopRightY { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Of(double, double, double, double)
Section titled “ Of(double, double, double, double)”Circular radii per corner, clockwise from the top left.
public static PdfCornerRadii Of(double topLeft, double topRight, double bottomRight, double bottomLeft)Parameters
Section titled “Parameters”topLeft double
topRight double
bottomRight double
bottomLeft double
Returns
Section titled “Returns”Uniform(double)
Section titled “ Uniform(double)”The same circular radius on every corner.
public static PdfCornerRadii Uniform(double radius)Parameters
Section titled “Parameters”radius double