SkiaCanvas
KiteCanvas backed by a raw org.jetbrains.skia.Canvas (Skiko).
Same rendering engine Compose Multiplatform rides on for JVM Desktop and iOS, minus the Compose runtime. Pure-Skia means this adapter is the right choice for:
Server-side rasterization: PDF → PNG, headless thumbnail generation, CI pipelines.
CLI tools: anything that needs pixels without adding androidx.compose.runtime.
Smaller dependency footprint: Skiko alone is significantly less than Compose Multiplatform.
Pair with PdfPageRasterizer for the common "give me a ByteArray of a page's PNG" use case.
Functions
Link copied to clipboard
open override fun applySoftMask(kind: SoftMask.Kind, maskBBox: Rectangle, maskCtm: Matrix, render: () -> Unit, renderMask: (KiteCanvas) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun fillShading(shading: KiteShading, ctm: Matrix, clipPath: KitePath?, alpha: Double, blendMode: BlendMode)