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
ColorForm
Class ColorForm
Hierarchy
Form
<
Color
,
AnyColor
>
ColorForm
Index
Constructors
constructor
Properties
tag
unit
Methods
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Constructors
constructor
new
Color
Form
(
unit
:
undefined
|
Color
)
:
ColorForm
Parameters
unit:
undefined
|
Color
Returns
ColorForm
Properties
Readonly
tag
tag
:
undefined
|
string
Readonly
unit
unit
:
undefined
|
Color
Methods
cast
cast
(
item
:
Item
)
:
undefined
|
Color
Parameters
item:
Item
Returns
undefined
|
Color
mold
mold
(
color
:
AnyColor
)
:
Item
Parameters
color:
AnyColor
Returns
Item
with
Tag
with
Tag
(
tag
:
undefined
|
string
)
:
Form
<
Color
,
AnyColor
>
Parameters
tag:
undefined
|
string
Returns
Form
<
Color
,
AnyColor
>
with
Unit
with
Unit
(
unit
:
undefined
|
Color
)
:
Form
<
Color
,
AnyColor
>
Parameters
unit:
undefined
|
Color
Returns
Form
<
Color
,
AnyColor
>
Static
for
Any
for
Any
(
)
:
Form
<
AnyItem
,
never
>
Returns
Form
<
AnyItem
,
never
>
Static
for
Boolean
for
Boolean
(
)
:
Form
<
boolean
,
never
>
Returns
Form
<
boolean
,
never
>
Static
for
Item
for
Item
(
)
:
Form
<
Item
,
AnyItem
>
Returns
Form
<
Item
,
AnyItem
>
Static
for
Number
for
Number
(
)
:
Form
<
number
,
never
>
Returns
Form
<
number
,
never
>
Static
for
String
for
String
(
)
:
Form
<
string
,
never
>
Returns
Form
<
string
,
never
>
Static
for
Value
for
Value
(
)
:
Form
<
Value
,
AnyValue
>
Returns
Form
<
Value
,
AnyValue
>
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
Color
Form
constructor
tag
unit
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Generated using
TypeDoc