SplitResult

class SplitResult(val gapOrientation: Orientation, val gapBounds: Rect)

Returns the specification for where to place a split in TwoPane as a result of TwoPaneStrategy.calculateSplitResult

Constructors

Link copied to clipboard
constructor(gapOrientation: Orientation, gapBounds: Rect)

Properties

Link copied to clipboard

The bounds that are nether a start pane or an end pane, but a separation between those two. In case width or height is 0 - it means that the gap itself is a 0 width/height, but the place within the layout is still defined.

Link copied to clipboard

Whether the gap is vertical or horizontal