Changing a line colour?

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Brian Lawton
Posts: 9
Joined: Sat Oct 19, 2013 4:41 pm

Changing a line colour?

Post by Brian Lawton »

Hi All. If I was to draw a 2D box. Let's say the line is black and the fill is any colour you like. I would like to take one of the four sides of the box and alter the colour??? so that I now have a box with three sides that are black and one side an alternate colour. Can this be done?? I've tried to experiment myself and can change (all) the box sides but have not been able to alter one side. Again, I'm interested in the line colour NOT the fill colour. :?:
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Re: Changing a line colour?

Post by heyvern »

Fairly simple.

A couple of ways to do this:

Create a shape for the fill first with no stroke.
Then create 4 separate stroke shapes with 2 points only for each side.
With that option you can colorize each side differently, instead of just one side.

or

Create a shape of the whole box normally with your default stroke color.
Then create a shape of just the two points of the side you want to be different.
Brian Lawton
Posts: 9
Joined: Sat Oct 19, 2013 4:41 pm

Re: Changing a line colour?

Post by Brian Lawton »

Thanks for the reply. I'll give that a try. Ta :D
Post Reply