Scrawl-canvas API
SC inline documentation
SC demo test suite
SC developer runbook
GitHub
Preparing search index...
GradientFactoryFunctions
Interface GradientFactoryFunctions
interface
GradientFactoryFunctions
{
actionPacket
:
(
item
:
string
,
override
?:
CommonObjectInput
)
=>
any
;
clone
:
(
item
?:
GradientFactoryInputs
)
=>
GradientInstance
;
get
:
(
item
:
string
)
=>
any
;
importPacket
:
(
item
:
string
|
string
[]
,
override
?:
CommonObjectInput
,
)
=>
any
;
kill
:
(
item
?:
any
)
=>
void
;
removeColor
?:
(
index
:
number
)
=>
AnyGradientInstance
;
saveAsPacket
:
(
item
?:
boolean
|
GradientSaveInputs
)
=>
string
;
set
:
(
item
?:
GradientFactoryInputs
)
=>
GradientInstance
;
setDelta
:
(
item
?:
GradientFactoryDeltaInputs
)
=>
GradientInstance
;
updateByDelta
?:
()
=>
StylesInstance
;
updateColor
?:
(
index
:
number
,
color
:
string
)
=>
AnyGradientInstance
;
}
Hierarchy (
View Summary
)
BaseMixinFunctions
StylesMixinFunctions
GradientFactoryFunctions
GradientInstance
Index
Properties
action
Packet
clone
get
import
Packet
kill
remove
Color?
save
As
Packet
set
set
Delta
update
By
Delta?
update
Color?
Properties
action
Packet
actionPacket
:
(
item
:
string
,
override
?:
CommonObjectInput
)
=>
any
clone
clone
:
(
item
?:
GradientFactoryInputs
)
=>
GradientInstance
get
get
:
(
item
:
string
)
=>
any
import
Packet
importPacket
:
(
item
:
string
|
string
[]
,
override
?:
CommonObjectInput
)
=>
any
kill
kill
:
(
item
?:
any
)
=>
void
Optional
remove
Color
removeColor
?:
(
index
:
number
)
=>
AnyGradientInstance
save
As
Packet
saveAsPacket
:
(
item
?:
boolean
|
GradientSaveInputs
)
=>
string
set
set
:
(
item
?:
GradientFactoryInputs
)
=>
GradientInstance
set
Delta
setDelta
:
(
item
?:
GradientFactoryDeltaInputs
)
=>
GradientInstance
Optional
update
By
Delta
updateByDelta
?:
()
=>
StylesInstance
Optional
update
Color
updateColor
?:
(
index
:
number
,
color
:
string
)
=>
AnyGradientInstance
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
Packet
clone
get
import
Packet
kill
remove
Color
save
As
Packet
set
set
Delta
update
By
Delta
update
Color
SC inline documentation
SC demo test suite
SC developer runbook
GitHub
Scrawl-canvas API
Loading...