kyrie / com.github.alexjlockwood.kyrie / PathNode / Builder

Builder

class Builder : RenderNode.Builder<PathNode.Builder>

Builder class used to create PathNodes.

Functions

pathData

fun pathData(initialPathData: String): PathNode.Builder
fun pathData(initialPathData: PathData): PathNode.Builder
fun pathData(vararg animations: Animation<*, PathData>): PathNode.Builder
fun pathData(animations: List<Animation<*, PathData>>): PathNode.Builder

Inherited Functions

fillAlpha

fun fillAlpha(initialFillAlpha: Float): B
fun fillAlpha(vararg animations: Animation<*, Float>): B
fun fillAlpha(animations: List<Animation<*, Float>>): B

fillColor

fun fillColor(initialFillColor: Int): B
fun fillColor(vararg animations: Animation<*, Int>): B
fun fillColor(animations: List<Animation<*, Int>>): B
fun fillColor(colorStateList: ColorStateList?): B
fun fillColor(linearGradient: LinearGradient?): B
fun fillColor(radialGradient: RadialGradient?): B
fun fillColor(sweepGradient: SweepGradient?): B

fillType

fun fillType(fillType: FillType): B

scalingStroke

fun scalingStroke(isScalingStroke: Boolean): B

strokeAlpha

fun strokeAlpha(initialStrokeAlpha: Float): B
fun strokeAlpha(vararg animations: Animation<*, Float>): B
fun strokeAlpha(animations: List<Animation<*, Float>>): B

strokeColor

fun strokeColor(initialStrokeColor: Int): B
fun strokeColor(vararg animations: Animation<*, Int>): B
fun strokeColor(animations: List<Animation<*, Int>>): B
fun strokeColor(colorStateList: ColorStateList?): B
fun strokeColor(linearGradient: LinearGradient?): B
fun strokeColor(radialGradient: RadialGradient?): B
fun strokeColor(sweepGradient: SweepGradient?): B

strokeDashArray

fun strokeDashArray(initialStrokeDashArray: FloatArray?): B
fun strokeDashArray(vararg animations: Animation<*, FloatArray>): B
fun strokeDashArray(animations: List<Animation<*, FloatArray>>): B

strokeDashOffset

fun strokeDashOffset(initialStrokeDashOffset: Float): B
fun strokeDashOffset(vararg animations: Animation<*, Float>): B
fun strokeDashOffset(animations: List<Animation<*, Float>>): B

strokeLineCap

fun strokeLineCap(strokeLineCap: StrokeLineCap): B

strokeLineJoin

fun strokeLineJoin(strokeLineJoin: StrokeLineJoin): B

strokeMiterLimit

fun strokeMiterLimit(initialStrokeMiterLimit: Float): B
fun strokeMiterLimit(vararg animations: Animation<*, Float>): B
fun strokeMiterLimit(animations: List<Animation<*, Float>>): B

strokeWidth

fun strokeWidth(initialStrokeWidth: Float): B
fun strokeWidth(vararg animations: Animation<*, Float>): B
fun strokeWidth(animations: List<Animation<*, Float>>): B

trimPathEnd

fun trimPathEnd(initialTrimPathEnd: Float): B
fun trimPathEnd(vararg animations: Animation<*, Float>): B
fun trimPathEnd(animations: List<Animation<*, Float>>): B

trimPathOffset

fun trimPathOffset(initialTrimPathOffset: Float): B
fun trimPathOffset(vararg animations: Animation<*, Float>): B
fun trimPathOffset(animations: List<Animation<*, Float>>): B

trimPathStart

fun trimPathStart(initialTrimPathStart: Float): B
fun trimPathStart(vararg animations: Animation<*, Float>): B
fun trimPathStart(animations: List<Animation<*, Float>>): B