Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Drawing anchor points underneath a shape node (Read 448 times)
dpru2
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 19
Joined: Feb 2nd, 2021
Drawing anchor points underneath a shape node
Dec 9th, 2022 at 10:15pm
Print Post  
Right now it seems like anchor points are always drawn on top of a shape node. Is there a way to draw them underneath the shape node? So basically reverse the order of drawing, or change the z-order?

Edit:

Alternatively, I'd like to be able to only draw anchors when a node is selected.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: Drawing anchor points underneath a shape node
Reply #1 - Dec 12th, 2022 at 8:40am
Print Post  
You could set diagram.DrawAnchors = Never and draw the points from DrawBackground event handler, e.g. by calling the public node.DrawAnchors method.

For the alternative, set diagram.ShowAnchors = ShowAnchors.Selected;

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint