|Connection to rounded Shapes [message #1222074]
||Thu, 19 December 2013 15:54
| Martin Hanysz
Registered: November 2013
I am currently trying to figure out a way to correctly display connections that end at a rounded shape, like an ellipse or rounded rectangle. The problem I have is, that the connection always ends at the bounding box of the shape and not exactly at its edge.
Is there a way to make the connection attach correctly?
I thought of using a ChopboxAnchor to make the connection creation snap to the shape and programmatically create a FixpointAnchor at the point where the edge of the shapes GraphicsAlgorithm and the ray from the ChopboxAnchor to the last bendpoint of the connection intersect. Although that seems feasible, I'd rather ask if there is a more simple way of doing this (like some special sort of Anchor I am not aware of yet).
Powered by FUDForum
. Page generated in 0.01876 seconds