JavaScript Scripting Reference
Method
applySharpenEdges
()
applySharpenMore
()
applyShear
(curve,
undefinedAreas)
applySmartBlur
(radius,
threshold,
blurQuality,
mode)
applySpherize
(amount,
mode)
applyStyle
(styleName)
applyTextureFill
(textureFile)
applyTwirl
(angle)
applyUnSharpMask
(amount,
radius,
threshold)
applyWave
(generatorNumber,
minimumWavelength,
maximumWavelength,
minimumAmplitude,
maximumAmplitude,
horizontalScale,
verticalScale,
waveType,
undefinedAreas,
randomSeed)
Adobe Photoshop CS3
Parameter Type
array of points
(Array (Array(x, y)))
UndefinedAreas
number (double)
number (double)
SmartBlurQuality
SmartBlurMode
number (long)
SpherizeMode
string
File
number (long)
number (double)
number (double)
number (long)
number (long)
number (long)
number (long)
number (long)
number (long)
number (long)
number (long)
WaveType
UndefinedAreas
number (long)
JavaScript Object Reference
Returns
What it does (Continued)
Applies the Sharpen Edges filter.
Applies the Sharpen More filter.
Applies the Shear filter (
- 255 points).
Applies the Smart Blur filter
(
: 0.1 - 100.0;
radius
0.1 - 100.0).
Applies the Spherize filter in the
specified amount (as
percentage) (-100 - 100).
Applies the specified style to the
layer.
Note:
You must use a style from
the Styles list in the Layer
Styles Palette.
Applies the Texture Fill filter.
Note:
For information about
the
File
JavaScript Tools Guide
Applies the Twirl filter at the
specified angle (-999 - 999).
Applies the Unsharp Mask filter
(
: 1 - 500 as percent;
amount
: 0.1 - 250.00;
radius
0 - 255).
Applies the Wave filter
(
generatorNumber
minimumWavelength
maximumWavelength
2 -
minimumWavelength
minimumAmplitude
maximumAmplitude
2 -
minimumAmplitude
horizontalScale
percentage;
verticalScale
percentage).
59
: 2
curve
:
threshold
object, see the
:
threshold
: 1 - 999;
: 1 - 998;
:
+ 1;
: 1 - 998;
:
+ 1;
: 1 - 100, as a
: 1- 100, as a