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
PolygonIcon
Class PolygonIcon
Hierarchy
FilledIcon
PolygonIcon
Implements
Interpolate
<
PolygonIcon
>
Equals
Equivalent
Debug
Index
Constructors
constructor
Properties
fill
Color
fill
Look
mood
Modifier
rotation
sides
Methods
copy
debug
draw
equals
equivalent
To
interpolate
To
is
Themed
modify
Mood
paint
render
to
String
with
Fill
Color
with
Fill
Look
with
Mood
Modifier
with
Theme
create
Constructors
constructor
new
Polygon
Icon
(
sides
:
number
, rotation
:
Angle
, fillColor
:
null
|
Color
, fillLook
:
null
|
Look
<
Color
,
never
>
, moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
PolygonIcon
Parameters
sides:
number
rotation:
Angle
fillColor:
null
|
Color
fillLook:
null
|
Look
<
Color
,
never
>
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
PolygonIcon
Properties
Readonly
fill
Color
fill
Color
:
null
|
Color
Readonly
fill
Look
fill
Look
:
null
|
Look
<
Color
,
never
>
Readonly
mood
Modifier
mood
Modifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
Readonly
rotation
rotation
:
Angle
Readonly
sides
sides
:
number
Methods
Protected
copy
copy
(
sides
:
number
, rotation
:
Angle
, fillColor
:
null
|
Color
, fillLook
:
null
|
Look
<
Color
,
never
>
, moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
PolygonIcon
Parameters
sides:
number
rotation:
Angle
fillColor:
null
|
Color
fillLook:
null
|
Look
<
Color
,
never
>
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
PolygonIcon
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
:
PolygonIcon
)
:
Interpolator
<
PolygonIcon
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
PolygonIcon
>
Parameters
that:
PolygonIcon
Returns
Interpolator
<
PolygonIcon
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
PolygonIcon
>
is
Themed
is
Themed
(
)
:
boolean
Returns
boolean
modify
Mood
modify
Mood
(
feel
:
Feel
, updates
:
MoodVectorUpdates
<
Feel
>
)
:
PolygonIcon
Parameters
feel:
Feel
updates:
MoodVectorUpdates
<
Feel
>
Returns
PolygonIcon
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
)
:
PolygonIcon
Parameters
fillColor:
null
|
Color
Returns
PolygonIcon
with
Fill
Look
with
Fill
Look
(
fillLook
:
null
|
Look
<
Color
,
never
>
)
:
PolygonIcon
Parameters
fillLook:
null
|
Look
<
Color
,
never
>
Returns
PolygonIcon
with
Mood
Modifier
with
Mood
Modifier
(
moodModifier
:
null
|
MoodMatrix
<
Feel
,
Feel
>
)
:
PolygonIcon
Parameters
moodModifier:
null
|
MoodMatrix
<
Feel
,
Feel
>
Returns
PolygonIcon
with
Theme
with
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
)
:
PolygonIcon
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
Returns
PolygonIcon
Static
create
create
(
sides
:
number
, rotation
?:
AnyAngle
)
:
PolygonIcon
Parameters
sides:
number
Optional
rotation:
AnyAngle
Returns
PolygonIcon
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
Polygon
Icon
constructor
fill
Color
fill
Look
mood
Modifier
rotation
sides
copy
debug
draw
equals
equivalent
To
interpolate
To
is
Themed
modify
Mood
paint
render
to
String
with
Fill
Color
with
Fill
Look
with
Mood
Modifier
with
Theme
create
Generated using
TypeDoc