VectorStrokeMode

sealed interface VectorStrokeMode

Per-vector stroke override applied at draw time. Lets the caller drop or recolour stroke outlines without re-authoring the source XML.

Inheritors

Types

Link copied to clipboard

Drop the stroke entirely; fill colours from the XML still apply.

Link copied to clipboard

Use whatever stroke (or absence of stroke) is in the source XML.

Link copied to clipboard
data class Tint(val color: PdfColor) : VectorStrokeMode

Replace the parsed stroke colour with color for every path, keeping the XML's stroke width. If a path has no stroke in the source it stays without a stroke.