rotate Pages
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
page Indexes
Page indexes to rotate, may not be empty.
rotation
One of NO_ROTATION, ROTATION_90, ROTATION_180, ROTATION_270.