Skip to main content

RadialMenu

RadialMenu

Kind: global class

new RadialMenu(items, [padding], [outerRadius], [innerRadius], [focusWidth], [backdropInnerRadius], [backdropOuterRadius], [backgroundColor], [classList])

ParamTypeDefaultDescription
itemsArray.<RadialMenuElementDefinition>
[padding]number0
[outerRadius]number150
[innerRadius]number50
[focusWidth]number
[backdropInnerRadius]number
[backdropOuterRadius]number
[backgroundColor]stringCSSColor string
[classList]Array.<string>

radialMenu.selected : List.<RadialMenuElement>

Kind: instance property of RadialMenu

radialMenu.elements : Array.<RadialMenuElement>

Kind: instance property of RadialMenu

radialMenu.firstElementOffset : number

Kind: instance property of RadialMenu

radialMenu.padding : number

Kind: instance property of RadialMenu

radialMenu.outerRadius : number

Kind: instance property of RadialMenu

radialMenu.innerRadius : number

Kind: instance property of RadialMenu

radialMenu.backdropInnerRadius : number

Kind: instance property of RadialMenu

radialMenu.backdropOuterRadius : number

Kind: instance property of RadialMenu

radialMenu.focusOuterRadius : number

Kind: instance property of RadialMenu

radialMenu.focusInnerRadius : number

Kind: instance property of RadialMenu

radialMenu.width : number

Kind: instance property of RadialMenu

radialMenu.height : number

Kind: instance property of RadialMenu

radialMenu.init(items)

Kind: instance method of RadialMenu

ParamType
itemsArray.<RadialMenuElementDefinition>

radialMenu.setElementSelection(el, flag)

Kind: instance method of RadialMenu

ParamType
elRadialMenuElement
flagboolean

radialMenu.selectByAngle(angle)

Kind: instance method of RadialMenu

ParamType
anglenumber