phpdftk API Documentation

ContentStreamOp
in package

FinalYes

A single content stream operation: zero or more operands followed by an operator keyword.

Examples: "BT" → operator="BT", operands=[] "/F1 12 Tf" → operator="Tf", operands=["/F1", "12"] "72 720 Td" → operator="Td", operands=["72", "720"] "(Hello World) Tj" → operator="Tj", operands=["(Hello World)"]

Table of Contents

Properties

$operands  : array<string|int, mixed>
$operator  : string

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(array<int, string> $operands, string $operator) : mixed
Parameters
$operands : array<int, string>

Raw operand strings

$operator : string

The operator keyword (e.g., "BT", "Tf", "Tj")


        
On this page

Search results