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
xfloatThe x-coordinate of the upper-left corner of the rectangle.
yfloatThe y-coordinate of the upper-left corner of the rectangle.
widthfloatThe width of the rectangle.
heightfloatThe 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
xdoubleThe x-coordinate of the upper-left corner of the rectangle.
ydoubleThe y-coordinate of the upper-left corner of the rectangle.
widthdoubleThe width of the rectangle.
heightdoubleThe 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)