phpdftk API Documentation

BezierCurve
in package

FinalYes

Cubic Bézier curve — the primitive behind PDF path operators (c, v, y).

Four control points define the curve. boundingBox() computes tight bounds via derivative roots, used for clipping and hit-testing.

Table of Contents

Properties

$p0  : Point
$p1  : Point
$p2  : Point
$p3  : Point

Methods

__construct()  : mixed
bounds()  : Rectangle
Bounding box via extrema of the derivative polynomial
pointAt()  : Point

Properties

Methods


        
On this page

Search results