PageBreakpoint

data class PageBreakpoint(val xAnchorPx: Pair<Int, Int>, val yPx: Int, val forceBreak: Boolean)

Represents a point in a composition where it is safe to break the page.

Parameters

xAnchorPx

The start and end x coordinates of the composable that triggered the breakpoint.

yPx

The y coordinate of the breakpoint, relative to the Paged composable (not affected by page offset).

forceBreak

If false, represents point where the page may break if necessary, but may not. If true, represents a point where the page will always break. Note this is not actually implemented yet.

Constructors

Link copied to clipboard
constructor(xAnchorPx: Pair<Int, Int>, yPx: Int, forceBreak: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val yPx: Int