Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to draw a line without a rectangle constraint ?
How to draw a line without a rectangle constraint ? [message #207219] Thu, 12 January 2006 03:20
Eclipse UserFriend
Originally posted by: ljshuenn.realtek.com.tw

As far as I learn, I can only use method paintFigure(Graphics g) in a line
figure to draw a line inside a rectangle constraint. And the constraint is
NOT in the same direction and size along the line.

Instead of the rectangle constraint, I hope the constraint completely
folllows the line with the same direction, shape, and size. What's the
approach to do it?

Thanks!
Previous Topic:how to import example code
Next Topic:Running/Editing the examples
Goto Forum:
  


Current Time: Fri Dec 09 05:02:17 GMT 2022

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top