Dynamic

class Dynamic(val marginTop: Int, val marginBottom: Int, val info: BarMatchInfo, val matchAbove: BarMatcher, val matchBelow: BarMatcher) : BarPositioning

A dynamic bar positioning which allows the overlay to change position based on the surrounding overlays.

Parameters

marginTop

The minimum margin between this bar and the bar above it.

marginBottom

The minimum margin between this bar and the bar below it.

info

The BarMatchInfo of the bar.

matchAbove

The BarMatcher which should be matched by the bar above this one (vertically).

matchBelow

The BarMatcher which should be matched by the bar below this one (vertically).

Constructors

Link copied to clipboard
constructor(marginTop: Int, marginBottom: Int, info: BarMatchInfo, matchAbove: BarMatcher, matchBelow: BarMatcher)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun compareTo(other: BarPositioning): Int