Search
Preparing search index...
The search index is not available
Foundry Virtual Tabletop - API Documentation - Version 10
Options
All
Public
Public/Protected
All
Inherited
Menu
Foundry Virtual Tabletop - API Documentation - Version 10
client
ControlIcon
Class ControlIcon
A generic helper for drawing a standard Control Icon
Hierarchy
any
ControlIcon
Index
Constructors
constructor
Properties
icon
Src
size
rect
border
Color
tint
Color
interactive
interactive
Children
hit
Area
button
Mode
bg
icon
border
texture
Methods
draw
Constructors
constructor
new
Control
Icon
(
__namedParameters
?:
{
texture
:
any
;
size
:
number
;
borderColor
:
number
;
tint
:
any
}
,
...
args
:
any
[]
)
:
ControlIcon
Parameters
__namedParameters:
{
texture
:
any
;
size
:
number
;
borderColor
:
number
;
tint
:
any
}
= {}
texture
:
any
size
:
number
border
Color
:
number
tint
:
any
Rest
...
args:
any
[]
Returns
ControlIcon
Properties
icon
Src
icon
Src
:
any
size
size
:
number
rect
rect
:
number
[]
border
Color
border
Color
:
number
tint
Color
tint
Color
:
number
The color of the icon tint, if any
interactive
interactive
:
boolean
interactive
Children
interactive
Children
:
boolean
hit
Area
hit
Area
:
Rectangle
button
Mode
button
Mode
:
boolean
bg
bg
:
any
icon
icon
:
any
border
border
:
any
texture
texture
:
any
Methods
draw
draw
(
)
:
Promise
<
ControlIcon
>
Returns
Promise
<
ControlIcon
>
Modules
foundry
types
primitives
prosemirror
hook
Events
client
BLEND_
MODES
CONFIG
PIXI
global
This
types
Control
Icon
constructor
icon
Src
size
rect
border
Color
tint
Color
interactive
interactive
Children
hit
Area
button
Mode
bg
icon
border
draw
texture
A generic helper for drawing a standard Control Icon