Long time ago I blogged about Draw2d here. In fact I have been working with Draw2d, without GEF, during the last 2 years.
I’ll try through several posts to show the “missing features required for my needs” I implemented from my side. “Missing” is quoted because it was until today, ALWAYS possible to implement these features thanks to Draw2d flexibility ;o)
The first one I want to share is “Label Decoration For Polylines“. Because A picture is worth a thousand words here it is:
May be this feature can be interesting for some of you and thus can be contributed ? May be it’s already existing somewhere and I missed it ?
Next post will show XYScaledGraphics able to scale X axis independtly from Y axis and vice versa.
Manu

May 7, 2009 at 7:46 am |
Hi,
its a very interesting feature. Is this decoration able to line break the text in case that the line is not as long as the text? Can I positions the label right, center, left, above and beneath the line? Is the label rotatable? Because on an vertical line an arrow can point to the top, then i would read the text from the bottom. In the other case, if the arrow points to the bottom, I would read from above.
Mark
May 7, 2009 at 8:12 am |
Hi Mark,
For now the feature is really basic and just answer to my actual needs.
I agree that it would be nice to have the features you described. I’ll try to have a look on that.
Thanks for your feedbacks.
Manu
August 28, 2009 at 9:59 pm |
looks good, I would love to see the source good.