MeasuredDivider

data class MeasuredDivider(val thickness: Float, val color: PdfColor, val style: LineStyle, val size: Size) : MeasuredNode

Measurement result for a com.conamobile.pdfkmp.node.DividerNode.

Carries the resolved stroke configuration so the renderer can hand it straight to com.conamobile.pdfkmp.render.PdfCanvas.drawLine or its dashed counterpart.

Constructors

Link copied to clipboard
constructor(thickness: Float, color: PdfColor, style: LineStyle, size: Size)

Properties

Link copied to clipboard
Link copied to clipboard
open override val size: Size

Final size of the node within its parent.

Link copied to clipboard
Link copied to clipboard