Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to add different colors to same shape
How to add different colors to same shape [message #716505] Wed, 17 August 2011 15:08 Go to next message
samim  is currently offline samim
Messages: 7
Registered: August 2011
Junior Member
Hello,
I need to know whether we can add different colors to the same shape.I know gradient is possible.But Here I need to divide a rectangular box into three column ,each column having different colors.Is it possible in graphiti?

Regards
Samim
Re: How to add different colors to same shape [message #716611 is a reply to message #716505] Wed, 17 August 2011 21:12 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias Gorning
Messages: 81
Registered: April 2010
Location: Germany
Member
Hi Samim,
you can add Colors only to a GraphicsAlgorithm which is assigned to a shape.

A proposal for your problem: You can add a rectangle to your Shape. Then you can add 3 rectangles as child graphics algorithms to your main rectangle. Then you can add 3 colors to these child rectangles.

BR,
Matthias

Re: How to add different colors to same shape [message #716661 is a reply to message #716611] Thu, 18 August 2011 02:49 Go to previous message
samim  is currently offline samim
Messages: 7
Registered: August 2011
Junior Member
Hi Matthias,
That was the last option I was hoping for.Anyways if there is no other way out I should try that.

Thanks
Samim
Previous Topic:Where is the location of a FixPointAnchor?
Next Topic:Decorator on Connection moves weirdly after zooming diagram
Goto Forum:
  


Current Time: Tue Oct 21 13:55:12 GMT 2014

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

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