Skip to content

Is there a prawn equivalent of z-index? #1291

Discussion options

You must be logged in to vote

No, there's no analogue of CSS z-index or depth buffer. You have to pre-sort your drawing operations yourself. First draws are the "farthest". In order to get your line on top of everything else it has to be drawn last.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by watsonchang15
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants