kyrie / com.github.alexjlockwood.kyrie / ClipPathNode / Builder

Builder

class Builder : TransformNode.Builder<ClipPathNode.Builder>

Builder class used to create ClipPathNodes.

Inherited Properties

pivotX

val pivotX: MutableList<Animation<*, Float>>

pivotY

val pivotY: MutableList<Animation<*, Float>>

rotation

val rotation: MutableList<Animation<*, Float>>

scaleX

val scaleX: MutableList<Animation<*, Float>>

scaleY

val scaleY: MutableList<Animation<*, Float>>

translateX

val translateX: MutableList<Animation<*, Float>>

translateY

val translateY: MutableList<Animation<*, Float>>

Functions

clipType

fun clipType(clipType: ClipType): ClipPathNode.Builder

fillType

fun fillType(fillType: FillType): ClipPathNode.Builder

pathData

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

Inherited Functions

pivotX

fun pivotX(initialPivotX: Float): B
fun pivotX(vararg animations: Animation<*, Float>): B
fun pivotX(animations: List<Animation<*, Float>>): B

pivotY

fun pivotY(initialPivotY: Float): B
fun pivotY(vararg animations: Animation<*, Float>): B
fun pivotY(animations: List<Animation<*, Float>>): B

rotation

fun rotation(initialRotation: Float): B
fun rotation(vararg animations: Animation<*, Float>): B
fun rotation(animations: List<Animation<*, Float>>): B

scaleX

fun scaleX(initialScaleX: Float): B
fun scaleX(vararg animations: Animation<*, Float>): B
fun scaleX(animations: List<Animation<*, Float>>): B

scaleY

fun scaleY(initialScaleY: Float): B
fun scaleY(vararg animations: Animation<*, Float>): B
fun scaleY(animations: List<Animation<*, Float>>): B

translateX

fun translateX(initialTranslateX: Float): B
fun translateX(vararg animations: Animation<*, Float>): B
fun translateX(animations: List<Animation<*, Float>>): B

translateY

fun translateY(initialTranslateY: Float): B
fun translateY(vararg animations: Animation<*, Float>): B
fun translateY(animations: List<Animation<*, Float>>): B