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.newBrush
View page source
ScriptUIGraphics.newBrush
¶
ScriptUIBrush
newBrush
(
Number
type
,
Number
color
)
Parameters
¶
type
The brush type, solid or theme.
color
The brush color.
Description
¶
Creates a new painting brush object.