Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/graphics
VectorIcon
Class VectorIcon
Hierarchy
FilledIcon
VectorIcon
Implements
Interpolate
<
VectorIcon
>
Equals
Equivalent
Debug
Index
Constructors
constructor
Properties
fill
Color
fill
Look
fill
Rule
mood
Modifier
path
Methods
copy
debug
draw
equals
equivalent
To
interpolate
To
is
Themed
modify
Mood
paint
render
to
String
with
Fill
Color
with
Fill
Look
with
Fill
Rule
with
Mood
Modifier
with
Theme
create
Constructors
constructor
new
Vector
Icon
(
path
:
R2Path
, fillRule
:
PaintingFillRule
, fillColor
:
null
|
Color
, fillLook
:
null
|
Look
<
Color
,
never
>
, moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
VectorIcon
Parameters
path:
R2Path
fillRule:
PaintingFillRule
fillColor:
null
|
Color
fillLook:
null
|
Look
<
Color
,
never
>
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
VectorIcon
Properties
Readonly
fill
Color
fill
Color
:
null
|
Color
Readonly
fill
Look
fill
Look
:
null
|
Look
<
Color
,
never
>
Readonly
fill
Rule
fill
Rule
:
PaintingFillRule
Readonly
mood
Modifier
mood
Modifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
Readonly
path
path
:
R2Path
Methods
Protected
copy
copy
(
path
:
R2Path
, fillRule
:
PaintingFillRule
, fillColor
:
null
|
Color
, fillLook
:
null
|
Look
<
Color
,
never
>
, moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
VectorIcon
Parameters
path:
R2Path
fillRule:
PaintingFillRule
fillColor:
null
|
Color
fillLook:
null
|
Look
<
Color
,
never
>
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
VectorIcon
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
draw
draw
(
context
:
DrawingContext
, frame
:
R2Box
)
:
void
Parameters
context:
DrawingContext
frame:
R2Box
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
interpolate
To
interpolate
To
(
that
:
VectorIcon
)
:
Interpolator
<
VectorIcon
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
VectorIcon
>
Parameters
that:
VectorIcon
Returns
Interpolator
<
VectorIcon
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
VectorIcon
>
is
Themed
is
Themed
(
)
:
boolean
Returns
boolean
modify
Mood
modify
Mood
(
feel
:
Feel
, updates
:
MoodVectorUpdates
<
Feel
>
)
:
VectorIcon
Parameters
feel:
Feel
updates:
MoodVectorUpdates
<
Feel
>
Returns
VectorIcon
paint
paint
(
context
:
PaintingContext
, frame
:
R2Box
)
:
void
Parameters
context:
PaintingContext
frame:
R2Box
Returns
void
render
render
(
renderer
:
GraphicsRenderer
, frame
:
R2Box
)
:
void
Parameters
renderer:
GraphicsRenderer
frame:
R2Box
Returns
void
to
String
to
String
(
)
:
string
Returns
string
with
Fill
Color
with
Fill
Color
(
fillColor
:
null
|
Color
)
:
VectorIcon
Parameters
fillColor:
null
|
Color
Returns
VectorIcon
with
Fill
Look
with
Fill
Look
(
fillLook
:
null
|
Look
<
Color
,
never
>
)
:
VectorIcon
Parameters
fillLook:
null
|
Look
<
Color
,
never
>
Returns
VectorIcon
with
Fill
Rule
with
Fill
Rule
(
fillRule
:
PaintingFillRule
)
:
VectorIcon
Parameters
fillRule:
PaintingFillRule
Returns
VectorIcon
with
Mood
Modifier
with
Mood
Modifier
(
moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
VectorIcon
Parameters
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
VectorIcon
with
Theme
with
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
)
:
VectorIcon
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
Returns
VectorIcon
Static
create
create
(
width
:
number
, height
:
number
, path
:
AnyR2Path
, fillRule
?:
PaintingFillRule
)
:
VectorIcon
Parameters
width:
number
height:
number
path:
AnyR2Path
Optional
fillRule:
PaintingFillRule
Returns
VectorIcon
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
Vector
Icon
constructor
fill
Color
fill
Look
fill
Rule
mood
Modifier
path
copy
debug
draw
equals
equivalent
To
interpolate
To
is
Themed
modify
Mood
paint
render
to
String
with
Fill
Color
with
Fill
Look
with
Fill
Rule
with
Mood
Modifier
with
Theme
create
Generated using
TypeDoc