![]() ![]() The shape of the inner path will end up "irregular".įor this example you can build up the shape from two circles overlapped by a rectrangle on top of them, and However if that distance is larger than a radii of the curve, In your example you want an "equidistant" gradient following the edge of a shape. Would that work with a general shape? Yes and no. Meaning split nodes on each path so you know for sure they use the same start-end nodes. The "brute-force" method would be interpolating between two open paths. Similarly, path orientation and the sequence of the nodes can produce "unexpected" results. Like, if one path has 5 nodes and the other 6, there is a chance the interpolation will mess things up. Interpolation "should" work but to be sure you can make some restrictions that it really bring out the desired effect.īasically, think of the interpolation as to interpolate between two paths where you can pair up nodes you want to interpolate in between. Is there a method to get the gradient that isn't specific to the object shape? Am I using wrong settings in Interpolate? In fact, I noticed that simple polygons work, but shapes with spokes or curved edges don't work. While the Interpolate method seems to be working for people online, I don't know why it's not working for my case. ![]() I have to think of a different solution based on the complexity of the shape. The above example is easy and the solution seems to be specific to this arrangement. ![]() If I want to have a smaller pill in the centre, there has to be 4 colours for the rectangle. The gradient in the bottom pill is shrinking down to essentially a line. The semi-circles have a concentric gradient of two colours (using circular gradient in Fill menu), but the rectangle has 3 colours. The pill below was created using 3 shapes - 2 semi-circles and a rectangle, with two different gradients. But for my case, it's not following the shape, as shown in the pill above. I looked up online and found that people are using Extensions > Generate from Path > Interpolate Between Paths option to do this. For example, the bottom pill in the screenshot has a gradient going from dark blue in the outer edge to light purple in the centre, while maintaining a pill shape throughout the graident. I need a single method to consistently generate a gradient going inwards from the edge of an object. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |