Check out example codes for "fabric bring to front element top". It will help you in understanding the concepts better.

Code Example 1

canvas.sendBackwards(myObject)
canvas.sendToBack(myObject)
canvas.bringForward(myObject)
canvas.bringToFront(myObject)

Learn ReactJs, React Native from akashmittal.com