Table of Contents

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 float

The x-coordinate of the upper-left corner of the rectangle.

y float

The y-coordinate of the upper-left corner of the rectangle.

width float

The width of the rectangle.

height float

The 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 double

The x-coordinate of the upper-left corner of the rectangle.

y double

The y-coordinate of the upper-left corner of the rectangle.

width double

The width of the rectangle.

height double

The 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)

Parameters

location PdfPoint

A PdfPoint that represents the upper-left corner of the rectangular region.

size PdfSize

A PdfSize that represents the width and height of the rectangular region.