Adobe Photoshop CS5 Object Library JS: ColorSampler
From Photoshop CS5
Class
ColorSampler
A color sampler in a document.QuickLinks
add, move, remove, removeAllHierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| color | SolidColor | readonly | The color of the color sampler. |
| parent | Object | readonly | The object's container. |
| position | UnitPoint | readonly | The position of the color sampler in the document. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
ColorSampler add ()
Adds an element.
void move (position:
UnitPoint)
Moves the color sampler to a new location.
| Parameter | Type | Description |
|---|---|---|
| position | UnitPoint | Position 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.3i | Contents :: Index |