Photoshop Scripting Reference
Photoshop Scripting Documentation
Core
Photoshop
Scriptui
Classes
Bounds
Button
Checkbox
Dimension
DrawState
DropDownList
EditText
Environment
Event
Events
FlashPlayer
Group
IconButton
KeyboardState
LayoutManager
ListBox
ListItem
Panel
Point
Progressbar
RadioButton
ScriptUI
ScriptUIBrush
ScriptUIFont
ScriptUIGraphics
ScriptUIImage
ScriptUIPath
ScriptUIPen
Scrollbar
Slider
StaticText
TreeView
UIEvent
Window
Module Index
Extension SDK Documentation (CEP)
Photoshop Scripting Reseources
Photoshop Scripting Reference
Docs
»
Photoshop Scripting Documentation
»
Scriptui
»
ScriptUIGraphics
»
ScriptUIGraphics.newPen
View page source
ScriptUIGraphics.newPen
¶
ScriptUIPen
newPen
(
Number
type
,
Number
color
,
Number
width
)
Parameters
¶
type
The pen type, solid or theme.
color
The pen color.
width
The width of the pen line in pixels.
Description
¶
Creates a new drawing pen object.