Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/style
RgbColorParser
Class RgbColorParser
Hierarchy
Parser
<
RgbColor
>
RgbColorParser
Index
Constructors
constructor
Methods
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
parse
Rest
Constructors
constructor
new
Rgb
Color
Parser
(
rParser
?:
Parser
<
ColorChannel
>
, gParser
?:
Parser
<
ColorChannel
>
, bParser
?:
Parser
<
ColorChannel
>
, aParser
?:
Parser
<
ColorChannel
>
, step
?:
number
)
:
RgbColorParser
Parameters
Optional
rParser:
Parser
<
ColorChannel
>
Optional
gParser:
Parser
<
ColorChannel
>
Optional
bParser:
Parser
<
ColorChannel
>
Optional
aParser:
Parser
<
ColorChannel
>
Optional
step:
number
Returns
RgbColorParser
Methods
as
Error
as
Error<O2>
(
)
:
Parser
<
O2
>
Type parameters
O2
Returns
Parser
<
O2
>
bind
bind
(
)
:
RgbColor
Returns
RgbColor
feed
feed
(
input
:
Input
)
:
Parser
<
RgbColor
>
Parameters
input:
Input
Returns
Parser
<
RgbColor
>
fork
fork
(
condition
:
unknown
)
:
Parser
<
RgbColor
>
Parameters
condition:
unknown
Returns
Parser
<
RgbColor
>
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
is
Done
is
Done
(
)
:
boolean
Returns
boolean
is
Error
is
Error
(
)
:
boolean
Returns
boolean
trap
trap
(
)
:
Error
Returns
Error
Static
done
done<O>
(
value
:
O
)
:
Parser
<
O
>
Type parameters
O
Parameters
value:
O
Returns
Parser
<
O
>
Static
error
error<O>
(
error
:
Error
|
Diagnostic
)
:
Parser
<
O
>
Type parameters
O
Parameters
error:
Error
|
Diagnostic
Returns
Parser
<
O
>
Static
parse
parse
(
input
:
Input
, rParser
?:
Parser
<
ColorChannel
>
, gParser
?:
Parser
<
ColorChannel
>
, bParser
?:
Parser
<
ColorChannel
>
, aParser
?:
Parser
<
ColorChannel
>
, step
?:
number
)
:
Parser
<
RgbColor
>
Parameters
input:
Input
Optional
rParser:
Parser
<
ColorChannel
>
Optional
gParser:
Parser
<
ColorChannel
>
Optional
bParser:
Parser
<
ColorChannel
>
Optional
aParser:
Parser
<
ColorChannel
>
Optional
step:
number
Returns
Parser
<
RgbColor
>
Static
parse
Rest
parse
Rest
(
input
:
Input
)
:
Parser
<
RgbColor
>
Parameters
input:
Input
Returns
Parser
<
RgbColor
>
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Rgb
Color
Parser
constructor
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
parse
Rest
Generated using
TypeDoc