Skip to content
Advertisement

Tag: tooltip

How can we show the tooltip of a curved line (drawn with piccolo2d) only along the curve and not in the contained area?

In the sample code below (Modified TooltipExample.java from https://github.com/piccolo2d/piccolo2d.java/tree/master/examples/src/main/java/org/piccolo2d/examples), I created a curved line inside a rectangle. It appears that the area/bounds contained by this curve is not along the curve but the highlighted part in GREY. I am trying to find if there is a way we can show the tooltip of curve only along the curve. I tried

Advertisement