ConnectedEdges

data class ConnectedEdges(val top: Boolean, val end: Boolean, val bottom: Boolean, val start: Boolean)

Describes which edges of a Connected UI item should have an outline border drawn.

Each boolean corresponds to one side of the item's bounding box. When an edge is false, com.segnities007.stylishui.foundation.connectedOutline skips drawing that segment, allowing adjacent items to share a seamless boundary without doubled strokes.

The naming follows Compose layout direction: start is left in LTR (right in RTL), end is right in LTR.

See also

Constructors

Link copied to clipboard
constructor(top: Boolean, end: Boolean, bottom: Boolean, start: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to draw the bottom edge.

Link copied to clipboard

Whether to draw the end (trailing) edge.

Link copied to clipboard

Whether to draw the start (leading) edge.

Link copied to clipboard

Whether to draw the top edge.