Constructor PdfRectangle
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfRectangle(float, float, float, float)
Initializes a new instance of the PdfRectangle struct with the specified location and size.
public PdfRectangle(float x, float y, float width, float height)
Parameters
x
floatThe x-coordinate of the upper-left corner of the rectangle.
y
floatThe y-coordinate of the upper-left corner of the rectangle.
width
floatThe width of the rectangle.
height
floatThe height of the rectangle.
PdfRectangle(double, double, double, double)
Initializes a new instance of the PdfRectangle struct with the specified location and size.
public PdfRectangle(double x, double y, double width, double height)
Parameters
x
doubleThe x-coordinate of the upper-left corner of the rectangle.
y
doubleThe y-coordinate of the upper-left corner of the rectangle.
width
doubleThe width of the rectangle.
height
doubleThe height of the rectangle.
PdfRectangle(PdfPoint, PdfSize)
Initializes a new instance of the PdfRectangle struct with the specified location and size.
public PdfRectangle(PdfPoint location, PdfSize size)