rotatePages

abstract fun rotatePages(@NonNull pageIndexes: Set<Integer>, rotation: Int): Single<List<EditingChange>>

Rotate pages of the document.

Scheduler:
rotatePages(Set<Integer>, int) does not operate by default on a particular Scheduler.

Return

Single emitting a list of editing changes for undo/redo operations. If a batch operation is in progress, the emitted list will be empty and the actual editing change is generated upon committing the batch.

Parameters

pageIndexes

Page indexes to rotate, may not be empty.