UI Widget Toolkit
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Graphics
Manager
PIXIHelper
constructor
_rect
Texture
_renderer
_selection
Items
_stage
_use
WebGLRenderer
add
Interaction
Helper
add
Pixi
Svg
add
Selection
clear
Selections
create
Graphics
Manager
create
Rectange
create
Rectangle
Container
get
Renderer
get
Selection
get
Stage
render
render
Text
get
Chrome
Version
Hierarchy
PIXIHelper
Index
Constructors
constructor
Properties
_rect
Texture
_renderer
_selection
Items
_stage
_use
WebGLRenderer
Methods
add
Interaction
Helper
add
Pixi
Svg
add
Selection
clear
Selections
create
Graphics
Manager
create
Rectange
create
Rectangle
Container
get
Renderer
get
Selection
get
Stage
render
render
Text
Constructors
constructor
new PIXIHelper
(
useWebGLRenderer
?:
boolean
)
:
PIXIHelper
Parameters
Default value
useWebGLRenderer:
boolean
= true
Returns
PIXIHelper
Properties
Protected
_rect
Texture
_rect
Texture
:
Texture
Protected
_renderer
_renderer
:
Renderer
Protected
_selection
Items
_selection
Items
:
object
Type declaration
[
index:
string
]:
any
Protected
_stage
_stage
:
Container
Protected
_use
WebGLRenderer
_use
WebGLRenderer
:
boolean
Methods
add
Interaction
Helper
add
Interaction
Helper
(
target
:
DisplayObject
, options
:
IOptions
, onClick
:
function
, onDoubleClick
:
function
, contextMenuItems
:
IContextMenuItem
[]
, hoverStart
:
function
, hoverEnd
:
function
, tooltip
:
BaseTooltip
, caller
:
UIElement
, value
:
any
, selectionValue
:
any
)
:
void
Parameters
target:
DisplayObject
options:
IOptions
onClick:
function
(
event
:
IEvent
)
:
void
Parameters
event:
IEvent
Returns
void
onDoubleClick:
function
(
event
:
IEvent
)
:
void
Parameters
event:
IEvent
Returns
void
contextMenuItems:
IContextMenuItem
[]
hoverStart:
function
(
event
:
IEvent
)
:
void
Parameters
event:
IEvent
Returns
void
hoverEnd:
function
(
event
:
IEvent
)
:
void
Parameters
event:
IEvent
Returns
void
tooltip:
BaseTooltip
caller:
UIElement
value:
any
selectionValue:
any
Returns
void
add
Pixi
Svg
add
Pixi
Svg
(
svg
:
Selection
<
any
,
any
,
any
,
any
>
, classes
:
string
, width
:
number
, height
:
number
)
:
Selection
<
any
,
any
,
any
,
any
>
Parameters
svg:
Selection
<
any
,
any
,
any
,
any
>
classes:
string
width:
number
height:
number
Returns
Selection
<
any
,
any
,
any
,
any
>
add
Selection
add
Selection
(
key
:
string
, item
:
any
)
:
void
Parameters
key:
string
item:
any
Returns
void
clear
Selections
clear
Selections
(
)
:
void
Returns
void
create
Graphics
Manager
create
Graphics
Manager
(
)
:
GraphicsManager
Returns
GraphicsManager
create
Rectange
create
Rectange
(
width
:
number
, height
:
number
, backgroundColor
:
number
)
:
Sprite
Parameters
width:
number
height:
number
backgroundColor:
number
Returns
Sprite
create
Rectangle
Container
create
Rectangle
Container
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, backgroundColor
:
number
)
:
Container
Parameters
x:
number
y:
number
width:
number
height:
number
backgroundColor:
number
Returns
Container
get
Renderer
get
Renderer
(
)
:
Renderer
Returns
Renderer
get
Selection
get
Selection
(
key
:
string
)
:
any
[]
Parameters
key:
string
Returns
any
[]
get
Stage
get
Stage
(
)
:
Container
Returns
Container
render
render
(
stage
?:
Container
)
:
void
Parameters
Optional
stage:
Container
Returns
void
render
Text
render
Text
(
name
:
string
, parent
:
any
, color
?:
number
, resolution
?:
number
, scaling
?:
number
)
:
Text
Parameters
name:
string
parent:
any
Default value
color:
number
= 0
Default value
resolution:
number
= 2
Default value
scaling:
number
= 0.5
Returns
Text
Generated using
TypeDoc