Adobe Photoshop CS5 Object Library JS: ColorSamplers

Photoshop CS5

Class

ColorSamplers

 The collection of color samplers in the document.

See also ColorSampler.

QuickLinks

[], add, getByName

Hierarchy

Object
ColorSamplers

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

ColorSampler [] (index: uint)
Get an element in the collection with the provided index.

ParameterTypeDescription
indexuint

ColorSampler add (position: UnitPoint)
Creates a color sampler.

ParameterTypeDescription
positionUnitPointThe 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.

ParameterTypeDescription
namestring

Element of

Document.colorSamplers

Jongware, 28-Aug-2012 v3.0.3iContents :: Index