Adobe Photoshop CS5 Object Library JS: ColorSampler

Photoshop CS5

Class

ColorSampler

 A color sampler in a document.

QuickLinks

add, move, remove, removeAll

Hierarchy

Object
ColorSampler

Properties

PropertyTypeAccessDescription
colorSolidColor readonlyThe color of the color sampler.
parentObject readonlyThe object's container.
positionUnitPoint readonlyThe position of the color sampler in the document.
typenamestring readonlyThe class name of the object.

Methods

Instances

ColorSampler add ()
Adds an element.

void move (position: UnitPoint)
Moves the color sampler to a new location.

ParameterTypeDescription
positionUnitPointPosition of destination (unit value)

void remove ()
Deletes this object.

void removeAll ()
Deletes all elements.

Return

ColorSampler ColorSampler.add ()

ColorSampler ColorSamplers.[] (index: uint)

ColorSampler ColorSamplers.add (position: UnitPoint)

ColorSampler ColorSamplers.getByName (name: string)

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