PathBuilder

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

Summary

Public constructors

Public methods

PathBuilder
arcTo(horizontalEllipseRadius: Float, verticalEllipseRadius: Float, theta: Float, largeArcFlag: Float, sweepFlag: Float, x1: Float, y1: Float)

PathBuilder
arcToRelative(a: Float, b: Float, theta: Float, largeArcFlag: Float, sweepFlag: Float, x1: Float, y1: 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(x1: Float, y1: Float, x2: Float, y2: Float)

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

PathBuilder

PathBuilder

PathBuilder

PathBuilder

PathBuilder

Public constructors

<init>

PathBuilder()

Public methods

arcTo

fun arcTo(
    horizontalEllipseRadius: Float,
    verticalEllipseRadius: Float,
    theta: Float,
    largeArcFlag: Float,
    sweepFlag: Float,
    x1: Float,
    y1: Float
): PathBuilder

arcToRelative

fun arcToRelative(
    a: Float,
    b: Float,
    theta: Float,
    largeArcFlag: Float,
    sweepFlag: Float,
    x1: Float,
    y1: Float
): PathBuilder

close

fun close(): PathBuilder

curveTo

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

curveToRelative

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

getNodes

fun getNodes(): List<PathNode>

horizontalLineTo

fun horizontalLineTo(x: Float): PathBuilder

horizontalLineToRelative

fun horizontalLineToRelative(x: Float): PathBuilder

lineTo

fun lineTo(
    x: Float,
    y: Float
): PathBuilder

lineToRelative

fun lineToRelative(
    x: Float,
    y: Float
): PathBuilder

moveTo

fun moveTo(
    x: Float,
    y: Float
): PathBuilder

moveToRelative

fun moveToRelative(
    x: Float,
    y: Float
): PathBuilder

quadTo

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

quadToRelative

fun quadToRelative(
    x1: Float,
    y1: Float,
    x2: Float,
    y2: Float
): PathBuilder

reflectiveCurveTo

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

reflectiveCurveToRelative

fun reflectiveCurveToRelative(
    x1: Float,
    y1: Float,
    x2: Float,
    y2: Float
): PathBuilder

reflectiveQuadTo

fun reflectiveQuadTo(
    x1: Float,
    y1: Float
): PathBuilder

reflectiveQuadToRelative

fun reflectiveQuadToRelative(
    x1: Float,
    y1: Float
): PathBuilder

verticalLineTo

fun verticalLineTo(y: Float): PathBuilder

verticalLineToRelative

fun verticalLineToRelative(y: Float): PathBuilder