Position Property [ColorNode]

Position sets the color spectrum position (0.0 to 1.0) of a color node Returns a double.

Syntax

object. Position

object. Position = position

Parameter

Type

Description

Position

Double

required

Remarks

To convert color spectrum positions to data values and data values to spectrum positions see PosToDat and DatToPos.

Example 1

This example demonstrates how to place a node in the center of the spectrum range.

Node.Position = 0.5

Used by: ColorNode object