ShapeNode

data class ShapeNode(val shape: Shape, val width: Dp, val height: Dp, val fill: PdfPaint? = null, val strokeColor: PdfColor? = null, val strokeWidth: Dp = Dp.Zero) : PdfNode

Geometric primitive — a circle or ellipse drawn as a filled and / or stroked shape. Use the com.conamobile.pdfkmp.dsl.ContainerScope.circle / com.conamobile.pdfkmp.dsl.ContainerScope.ellipse DSL functions rather than constructing this directly.

Constructors

Link copied to clipboard
constructor(shape: Shape, width: Dp, height: Dp, fill: PdfPaint? = null, strokeColor: PdfColor? = null, strokeWidth: Dp = Dp.Zero)

Properties

Link copied to clipboard
val fill: PdfPaint? = null
Link copied to clipboard
val height: Dp
Link copied to clipboard
Link copied to clipboard
val strokeColor: PdfColor? = null
Link copied to clipboard
Link copied to clipboard
val width: Dp