ConstantNode



A ValueNode that produces a constant output value.

Summary

Public constructors

Creates a ConstantNode that produces a constant output value.

Cmn

Public functions

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

Public properties

Float

The constant value produced by this node.

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

ConstantNode

ConstantNode(value: Float)

Creates a ConstantNode that produces a constant output value.

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

value

val valueFloat

The constant value produced by this node.