ColorSamplers

The collection of color samplers in the document.

Methods:

add, getByName, []

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

ColorSampler [] (index:Uint)

Get an element in the collection with the provided index.

Parameter

Type

Description

index

Uint

 

ColorSampler add (position:UnitPoint)

Creates a color sampler.

Parameter

Type

Description

position

UnitPoint

The horizontal and vertical (x,y) locations, respectively, of the color sampler.

ColorSampler getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

Object of

Document.colorSamplers