Vik
Vik

Reputation: 55

Kineticjs path zorder - above all controls

I have a single Kineticjs layer which has a few Path objects. The webpage that I am rendering this canvas also has other html controls like buttons and labels. Now each of these path objects also have tooltips (Kineticjs Label and Tag basically). The problem is these tooltips appear beneath the other html controls like buttons or labels. Is it possible to control the z-index of each of these paths (not i have only one layer) to appear above or below these other html controls?

Upvotes: 0

Views: 91

Answers (1)

mreq
mreq

Reputation: 6542

No. Everything u render via KineticJS has only one z-index relative to the document and other elements.

You would have to create separate KineticJS canvases per z-indices needed.

Upvotes: 1

Related Questions