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
Methods
- __construct() : mixed
Properties
$operands read-only
public
array<string|int, mixed>
$operands
$operator read-only
public
string
$operator
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")