Table of Contents

Class QuadPointsQuadrilateral

Namespace
UglyToad.PdfPig.Annotations
Assembly
UglyToad.PdfPig.dll

A QuadPoints quadrilateral is four points defining the region for an annotation to use. An annotation may cover multiple quadrilaterals.

public class QuadPointsQuadrilateral
Inheritance
QuadPointsQuadrilateral
Inherited Members

Constructors

QuadPointsQuadrilateral(IReadOnlyList<PdfPoint>)

public QuadPointsQuadrilateral(IReadOnlyList<PdfPoint> points)

Parameters

points IReadOnlyList<PdfPoint>

Properties

Points

The 4 points defining this quadrilateral. The PDF specification defines these as being in anti-clockwise order starting from the lower-left corner, however Adobe's implementation doesn't obey the specification and points seem to go in the order: top-left, top-right, bottom-left, bottom-right. See: https://stackoverflow.com/questions/9855814/pdf-spec-vs-acrobat-creation-quadpoints.

public IReadOnlyList<PdfPoint> Points { get; }

Property Value

IReadOnlyList<PdfPoint>

Methods

ToString()

public override string ToString()

Returns

string