Package-level declarations

Types

Link copied to clipboard
sealed interface PathCommand

One step of a vector path, expressed in absolute viewport coordinates.

Link copied to clipboard
data class VectorImage(val viewportWidth: Float, val viewportHeight: Float, val intrinsicWidth: Float, val intrinsicHeight: Float, val paths: List<VectorPath>)

Resolved vector graphic ready for layout and drawing.

Link copied to clipboard
class VectorParseException(message: String, cause: Throwable? = null)

Thrown when VectorImage.parse fails.

Link copied to clipboard
data class VectorPath(val commands: List<PathCommand>, val fill: PdfPaint? = null, val strokeColor: PdfColor? = null, val strokeWidth: Float = 0.0f)

One path inside a VectorImage.