ByCallback

An end of paragraph instruction that shifts paragraphs based on a callback.

Constructors

Link copied to clipboard
constructor(callback: () -> EndOfParagraphInstruction)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getIndexOfNext(current: Paragraph, paragraphs: List<Paragraph>): Int

Get the index of the next paragraph from a current paragraph and an array of paragraphs.