SetaPDF_Core_Document_Page_Annotation_QuadPointsTrait Trait for handling the QuadPoints property in Annotations

File: /SetaPDF v2/Core/Document/Page/Annotation/QuadPointsTrait.php

Used in

Summary

Methods

getQuadPoints()

Get the quad points.

setQuadPoints()

public SetaPDF_Core_Document_Page_Annotation_QuadPointsTrait::setQuadPoints (
int[]|float[] $quadPoints
): void

Set the quad points.

Parameters
$quadPoints : int[]|float[]

An array of quad points (multiple of 8 values: TopLeft x/y, TopRight x/y, BottomLeft x/y, BottomRight x/y - which is a contradiction to the PDF specification but used by all common PDF viewer applications).