custom figures [message #192222] |
Thu, 12 June 2008 00:40  |
Eclipse User |
|
|
|
hello!
I've some questions concerning custom figures:
1)Is it possible to create figures that consists of lines that are
straight and round like a curve. In particular, I'm referring to figures
we created with a sketch tool:
a)input port(http://www.scribd.com/doc/3321556/in), and
b)output port (http://www.scribd.com/doc/3321554/out).
(I know the images are tiny, but if you doubleclick them it'll be ok.)
2)And what about a comp figure, as at
(http://www.scribd.com/doc/3321555/comp)?
3)Please, last but not least take a look at
((http://www.scribd.com/doc/3321602/pipeline).
This shows a pipeline example.
For 1)a)1)b), (see the links above) it is important that the Labels are
placed above in the Center of the figures; I have checked out the Taipan
Example, as there are interesting images, but the labels are always below
or besides the element.
What is further important for me is to be able to modify from code the
Label (for accessing its color, font, size...) of each element, its
foreground and background color.
Any help is appreciated!
Regards,
Amro
|
|
|
|
|
Re: custom figures + runtime exception [message #192786 is a reply to message #192705] |
Mon, 16 June 2008 05:59  |
Eclipse User |
|
|
|
Hello Amro Al-Akkad,
You are right - currently used version of RenderedMapModeGraphics has no
implementation of 'drawPath' and 'fillPath' method. I suggest you using draw/fill
arc/polyline/polygon instead.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.04003 seconds