PolarTargetNode



A TerminalNode that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property.

Summary

Nested types

List of vector tip properties that can be modified by a androidx.ink.brush.BrushBehavior.

Public constructors

PolarTargetNode(
    target: PolarTargetNode.PolarTarget,
    angleRangeStart: Float,
    angleRangeEnd: Float,
    angleInput: ValueNode,
    magnitudeRangeStart: Float,
    magnitudeRangeEnd: Float,
    magnitudeInput: ValueNode
)

Creates a PolarTargetNode that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property.

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 value used to affect the angle of the target vector property.

Cmn
Float

The end of the angle range for the target property.

Cmn
Float

The start of the angle range for the target property.

Cmn
ValueNode

The input node that produces the value used to affect the magnitude of the target vector property.

Cmn
Float

The end of the magnitude range for the target property.

Cmn
Float

The start of the magnitude range for the target property.

Cmn
PolarTargetNode.PolarTarget

The vector brush tip property to affect.

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

PolarTargetNode

PolarTargetNode(
    target: PolarTargetNode.PolarTarget,
    angleRangeStart: Float,
    angleRangeEnd: Float,
    angleInput: ValueNode,
    magnitudeRangeStart: Float,
    magnitudeRangeEnd: Float,
    magnitudeInput: ValueNode
)

Creates a PolarTargetNode that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property.

Parameters
target: PolarTargetNode.PolarTarget

vector brush tip property to affect

angleRangeStart: Float

start of the angle range for the target property

angleRangeEnd: Float

end of the angle range for the target property

angleInput: ValueNode

input node that produces the value used to affect the angle of the target vector property

magnitudeRangeStart: Float

start of the magnitude range for the target property

magnitudeRangeEnd: Float

end of the magnitude range for the target property

magnitudeInput: ValueNode

input node that produces the value used to affect the magnitude of the target vector property

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

angleInput

val angleInputValueNode

The input node that produces the value used to affect the angle of the target vector property.

angleRangeEnd

val angleRangeEndFloat

The end of the angle range for the target property.

angleRangeStart

val angleRangeStartFloat

The start of the angle range for the target property.

magnitudeInput

val magnitudeInputValueNode

The input node that produces the value used to affect the magnitude of the target vector property.

magnitudeRangeEnd

val magnitudeRangeEndFloat

The end of the magnitude range for the target property.

magnitudeRangeStart

val magnitudeRangeStartFloat

The start of the magnitude range for the target property.

target

val targetPolarTargetNode.PolarTarget

The vector brush tip property to affect.