Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 59
applySmartBlur
(radius,
threshold,
blurQuality,
mode)
number [0.1..100.0]
number [0.1..100.0]
SmartBlurQuality
SmartBlurMode
Applies the Smart Blur filter.
applySpherize
(amount,
mode)
number [-100..100]
SpherizeMode
Applies the Spherize filter.
amount is a percentage value.
applyStyle
(styleName)
string
Applies the specified style to the
layer. You must use a style from
the Styles list in the Layer Styles
Palette.
applyTextureFill
(textureFile)
File
Applies the Texture Fill filter.
applyTwirl
(angle)
number [-999..999]
Applies the Twirl filter.
applyUnSharpMask
(amount,
radius,
threshold)
number [1..500]
number [0.1..250.0]
number [0..255]
Applies the Unsharp Mask filter.
(
amount is a percentage value.
applyWave
(generatorNumber,
minimumWavelength,
maximumWavelength,
minimumAmplitude,
maximumAmplitude,
horizontalScale,
verticalScale,
waveType,
undefinedAreas,
randomSeed)
number [1..999]
number [1..998]
number [2..min+1]
number[1..998]
number [2..min+1]
number [1..100]
number [1..100]
WaveType
UndefinedAreas
number
Applies the Wave filter.
Scale factors are percentage
values.
applyZigZag
(amount,
ridges,
style)
number [-100..100]
number [0..20]
ZigZagType
Applies the Zigzag filter.
autoContrast
()
Adjusts the contrast of the
selected channels automatically.
autoLevels
()
Adjusts the levels of the
selected channels using the
auto levels option.
clear
()
Cuts the layer without moving it
to the clipboard.
Method Parameter type Returns What it does (Continued)