Surrounds the operators first through last, such as a text object in a marked-content
sequence (/P <</MCID 0>> BDC … EMC) or a group of paints in q … Q.
public void Wrap(int first, int last, ReadOnlySpan<byte> before, ReadOnlySpan<byte> after)
The number of the first operator inside.
The number of the last operator inside; at least first.
Content stream syntax written before the first operator; copied.
Content stream syntax written after the last operator; copied.
ISO 32000-2 §7.8.2; §14.6 (marked content), §8.4.2 (the state stack). Wraps that overlap without one containing the other produce content whose sequences do not nest; the caller keeps them nested.