Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] Question about creaing Diamond Shape in GEF?

thanks! I make it!

Michael


>On Wed, 11 Feb 2004 14:57:30 -0500, Randy Hudson wrote:


You should not use the polygon class
to create "normal" shapes.  Normal means shapes where
you
call setBounds(), and they appear inside that
Rectangle.  Polygon
is abnormal because it dynamically calculates its
bounds based on setPoints(PointList),
and the current line width.

-Randy







michaelsun@xxxxxxxxxx
Sent by: gef-dev-admin@xxxxxxxxxxx
02/11/2004 02:44 PM
Please respond to gef-dev
        
        To:
       gef-dev@xxxxxxxxxxx
        cc:
       
        Subject:
       [gef-dev] Question about creaing Diamond
Shape in GEF?


How to create Diamond Shape (decision box) in GEF?
use
Polygon? any clue? thanks a lot!

Michael
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/gef-dev


Back to the top