

This will apply a linear gradient to your object. Make sure you have your object selected, then click the Linear Gradient icon in the Fill & Stroke menu: We will create our rainbow gradient as a linear gradient first, then apply it as a radial gradient later on. For this lesson we will be focusing on the Fill tab, so make sure to have that tab opened. The hammer in this FAQ is from Andy Fitz’ vector image from the openclipart library.At the top of the Fill & Stroke menu, you will see three tabs: Fill, Stroke, and Stroke Style. TheLamborghini Gallardo SVG is included with the Inkscape source code. When this button is toggled on (pressed), inkscape gradients should start behaving more as you expect. There is a Button in the Tools Control Bar for the Select Tool that lets you toggle if inkscape transforms gradients when an object is transformed. Note, also that if the object is resized (scaled), the gradient handles would not have resized either. The gradient handles have remained in the location that they were before the move.

If you were to un-group the objects making up the hammer, and choose the Gradient Tool, graphic representations of the gradients in the objects would become visible:Ĭompare to how the gradients look after the object is moved: In most cases, when this behaviour is encountered, the object is moved but the gradients are not. Colors darken or lighten, gradients disappear or become a solid color again. In the following example, the object is a group of shapes depicting a shiny hammer.īut when you move the object around on the canvas, the gradients change. You have an object on the page that contains gradients. However, having gradients behave strangely when moving or resizing an object is a common issue encountered by Inkscape users. A Lamborghini Gallardo drawn entirely with Inkscape vectors. When combined with the blur filter, gradients can be used to create photo-realistic vector images. Gradients in vector graphics provide the ability to provide the illusion of depth and light to otherwise flat images. The gradient tool in Inkscape is a powerful feature that allows artists to add and edit linear and radial colour gradients on-canvas.
