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?
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.