BindingMessage

new BindingMessage(x, y, binding, fillColor)

Message object between exchange and queue.
Parameters:
NameTypeDescription
xnumberx position of the message
ynumbery position of the message
bindingBindingBinding object
fillColorstringhex color code to fill the circle
Properties
NameTypeDescription
targetXnumberx of the binding destination
targetYnumbery of the binding destination

Extends

Methods

addToScene(scene) → {object}

Add an object as actor to scene.
Parameters:
NameTypeDescription
sceneScenescene on canvas
Inherited From
Returns:
this
Type: 
object

createUUID() → {string}

Generates an UUID, used to identify every object in the scene.
https://www.w3resource.com/javascript-exercises/fundamental/javascript-fundamental-exercise-253.php
Inherited From
Returns:
- uuid
Type: 
string

render()

Renders a circle representing the message.
Inherited From