EditsDraft
@ExperimentalPdfApi
open class EditsDraft
MutableEditsDraft |
A mutable builder for creating a sequence of draft edit operations. |
Represents a read-only sequence of draft edit operations for a PDF document.
Summary
Public functions |
|
|---|---|
open operator Boolean |
|
open Int |
hashCode() |
Pair<EditsDraft, EditsDraft> |
Splits this |
Public functions
splitAt
fun splitAt(index: Int): Pair<EditsDraft, EditsDraft>
Splits this EditsDraft into two separate drafts at the specified index with bounds [0, index) and [index, n).
| Parameters | |
|---|---|
index: Int |
The position at which to split the operations. |
| Returns | |
|---|---|
Pair<EditsDraft, EditsDraft> |
A |
| Throws | |
|---|---|
IllegalArgumentException |
if the |