MeasuredBox

data class MeasuredBox(val children: List<PlacedChild>, val size: Size, val decoration: ContainerDecoration = ContainerDecoration.None) : MeasuredNode

Measurement result for a com.conamobile.pdfkmp.node.BoxNode. Children are stored with their pre-computed (offsetX, offsetY) so the renderer does not need to redo alignment math at draw time.

Constructors

Link copied to clipboard
constructor(children: List<PlacedChild>, size: Size, decoration: ContainerDecoration = ContainerDecoration.None)

Properties

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

Final size of the node within its parent.