CornerRadius

data class CornerRadius(val topLeft: Dp = Dp.Zero, val topRight: Dp = Dp.Zero, val bottomLeft: Dp = Dp.Zero, val bottomRight: Dp = Dp.Zero)

Per-corner radius spec for a container.

Most layouts only need the simple cornerRadius: Dp parameter on com.conamobile.pdfkmp.dsl.column / com.conamobile.pdfkmp.dsl.box / etc. — that produces a uniformly rounded rectangle. Use this type for the rare case where corners differ (e.g. a tab control that's rounded on top and flat on the bottom).

Pass via the cornerRadiusEach parameter; when set, it overrides the uniform cornerRadius argument.

Constructors

Link copied to clipboard
constructor(topLeft: Dp = Dp.Zero, topRight: Dp = Dp.Zero, bottomLeft: Dp = Dp.Zero, bottomRight: Dp = Dp.Zero)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topLeft: Dp
Link copied to clipboard