Android 12 Developer Preview is here! Try it out, and give us your feedback!

PathBuilder

class PathBuilder
kotlin.Any
   ↳ androidx.compose.ui.graphics.vector.PathBuilder

Summary

Public constructors

Public methods
PathBuilder
arcTo(horizontalEllipseRadius: Float, verticalEllipseRadius: Float, theta: Float, isMoreThanHalf: Boolean, isPositiveArc: Boolean, x1: Float, y1: Float)

PathBuilder
arcToRelative(a: Float, b: Float, theta: Float, isMoreThanHalf: Boolean, isPositiveArc: Boolean, dx1: Float, dy1: Float)

PathBuilder

PathBuilder
curveTo(x1: Float, y1: Float, x2: Float, y2: Float, x3: Float, y3: Float)

PathBuilder
curveToRelative(dx1: Float, dy1: Float, dx2: Float, dy2: Float, dx3: Float, dy3: Float)

List<PathNode>

PathBuilder

PathBuilder

PathBuilder
lineTo(x: Float, y: Float)

PathBuilder

PathBuilder
moveTo(x: Float, y: Float)

PathBuilder

PathBuilder
quadTo(x1: Float, y1: Float, x2: Float, y2: Float)

PathBuilder
quadToRelative(dx1: Float, dy1: Float, dx2: Float, dy2: Float)

PathBuilder
reflectiveCurveTo(x1: Float, y1: Float, x2: Float, y2: Float)

PathBuilder