InterpolationNode



A ValueNode that interpolates between two inputs based on a parameter input. The specific kind of interpolation performed depends on the Interpolation parameter.

Summary

Nested types

Interpolation functions for use in an InterpolationNode.

Public constructors

InterpolationNode(
    interpolation: InterpolationNode.Interpolation,
    paramInput: ValueNode,
    startInput: ValueNode,
    endInput: ValueNode
)

Creates an InterpolationNode that interpolates between two inputs based on a parameter input.

Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

ValueNode

The input node that produces the ending value for the interpolation.

Cmn
InterpolationNode.Interpolation

The kind of interpolation to perform.

Cmn
ValueNode

The input node that produces the parameter value used to interpolate between the start and end inputs.

Cmn
ValueNode

The input node that produces the starting value for the interpolation.

Cmn

Inherited properties

From androidx.ink.brush.behavior.Node
List<ValueNode>

The ordered list of inputs that this node directly depends on.

Cmn

Public constructors

InterpolationNode

InterpolationNode(
    interpolation: InterpolationNode.Interpolation,
    paramInput: ValueNode,
    startInput: ValueNode,
    endInput: ValueNode
)

Creates an InterpolationNode that interpolates between two inputs based on a parameter input. The specific kind of interpolation performed depends on the Interpolation parameter.

Parameters
interpolation: InterpolationNode.Interpolation

the kind of interpolation to perform

paramInput: ValueNode

input node that produces the parameter value used to interpolate between the start and end inputs

startInput: ValueNode

input node that produces the starting value for the interpolation

endInput: ValueNode

input node that produces the ending value for the interpolation

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

endInput

val endInputValueNode

The input node that produces the ending value for the interpolation.

interpolation

val interpolationInterpolationNode.Interpolation

The kind of interpolation to perform.

paramInput

val paramInputValueNode

The input node that produces the parameter value used to interpolate between the start and end inputs.

startInput

val startInputValueNode

The input node that produces the starting value for the interpolation.