KitePath

data class KitePath(val segments: List<KitePath.Segment>)

A geometric path accumulated by m/l/c/v/y/h/re operators before being painted by S/f/B/n.

The path is a list of Segments; consumers (a Compose Path, an SVG writer, etc.) walk them in order. All coordinates are in path-construction space. The GraphicsState.ctm in effect when the path is painted is the relevant transform.

Constructors

Link copied to clipboard
constructor(segments: List<KitePath.Segment>)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion
Link copied to clipboard
sealed class Segment

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun KitePath.strokeOutline(lineWidth: Double, lineCap: Int = 0, lineJoin: Int = 0, miterLimit: Double = 10.0, dashArray: List<Double>? = null, dashPhase: Double = 0.0, tolerance: Double = 0.1): KitePath

The area that stroking this path paints, as a path to fill with the nonzero rule. The pen is round in path space, so the outline filled under a non-uniform matrix gives the elliptical pen that ISO 32000-1, 8.5.3.2 describes.