Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Gradiently render/fill Rectangles/Rounded Rectangles/ Polygons
Gradiently render/fill Rectangles/Rounded Rectangles/ Polygons [message #929151] Mon, 01 October 2012 05:02 Go to next message
Surya Kathayat is currently offline Surya Kathayat
Messages: 44
Registered: July 2012
Member
Hi,

How can a graphical node (eg. rounded rectangle) can be gratiently (vertical) filled.

I guess that the following method is for that purpose, not sure how to pass rendering styles parameters?? Help will be appreciated.

roundedRectangle.setRenderingStyle(??);


Best Regards
Surya

[Updated on: Mon, 01 October 2012 05:43]

Report message to a moderator

Re: Gradiently render/fill Rectangles/Rounded Rectangles/ Polygons [message #929932 is a reply to message #929151] Mon, 01 October 2012 18:33 Go to previous messageGo to next message
Aljoscha Hark is currently offline Aljoscha Hark
Messages: 24
Registered: March 2012
Junior Member
Hi,

I think the default and very useful Graphiti Tutorial, especially the section about 'Using Styles' [1] could help here.

Greetings,
Aljoscha

[1] http://help.eclipse.org/juno/topic/org.eclipse.graphiti.doc/resources/docu/gfw/styles.htm?cp=23_1_7
Re: Gradiently render/fill Rectangles/Rounded Rectangles/ Polygons [message #930336 is a reply to message #929932] Tue, 02 October 2012 04:12 Go to previous message
Surya Kathayat is currently offline Surya Kathayat
Messages: 44
Registered: July 2012
Member
Thanks for the useful link, Aljoscha.

BR
Surya
Previous Topic:Connection Feature and Drop on Canvas
Next Topic:how can I install EditPolicy to the shape
Goto Forum:
  


Current Time: Wed Jul 23 08:12:07 EDT 2014

Powered by FUDForum. Page generated in 0.03488 seconds