PdfQuadrilateral Constructor

Initializes a new instance of the PdfQuadrilateral struct.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfQuadrilateral(
	params PdfPoint[] corners
)
VB
Public Sub New ( 
	ParamArray corners As PdfPoint()
)

Parameters

corners
Type: BitMiracle.Docotic.Pdf.PdfPoint[]
Four points representing vertices of valid quadrilateral.

Remarks

Order of points is important:
  1. The same set of corners can define different concave quadrilaterals. Consider this quadrilateral: (10, 30), (30, 30), (10, 10) and (11, 12). You can simply reorder corners to define different quadrilateral: (10, 30), (10, 10), (11, 12) and (30, 30).
  2. Quadrilaterals are used for text markup annotations (descendants of PdfTextMarkupAnnotation). First and second corners of a quadrilateral define the orientation of the annotation.

See Also