MeasuredImage
data class MeasuredImage(val bytes: ByteArray, val contentScale: ContentScale, val size: Size, val allowDownScale: Boolean = true, val altText: String? = null) : MeasuredNode
Measurement result for an image node.
Carries the encoded bytes alongside the resolved destination size and contentScale so the renderer can hand them straight to the platform canvas without having to walk the original com.conamobile.pdfkmp.node.ImageNode tree again.
Constructors
Link copied to clipboard
constructor(bytes: ByteArray, contentScale: ContentScale, size: Size, allowDownScale: Boolean = true, altText: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Accessibility description forwarded from com.conamobile.pdfkmp.node.ImageNode.altText.
Link copied to clipboard