Inkscape/C2/Fill-color-and-stroke/English-timed

From Script | Spoken-Tutorial
Revision as of 18:50, 1 September 2015 by Sandhya.np14 (Talk | contribs)

Jump to: navigation, search
Time Narration
00:00 Welcome to the Spoken Tutorial on Fill color and stroke using Inkscape.
00:06 In this tutorial, we will learn about:
  • Fill color in objects
  • Give objects an outline
  • Various types of gradients and
  • Stroke paint and style.
00:20 For this tutorial, I am using:
  • Ubuntu Linux 12.04 OS
  • Inkscape version 0.48.4
00:29 Let's open Inkscape. For this, go to Dash home and type: "Inkscape".
00:35 You can open Inkscape by clicking on the logo.
00:40 Let's open the 'Assignment.svg' file that we created earlier. I had saved it in my Documents folder.
00:50 These are the 3 shapes we created in an earlier assignment.
00:54 Recall that we had learnt to change color using the color palette at the bottom of the interface.
01:01 Now we will learn how to fill colors of various types using Fill and Stroke.
01:08 Let's go to Object menu and click on the Fill and Stroke option from the drop-down list.
01:13 Notice that the Fill and Stroke dialog box has opened on the right side of the interface.
01:20 There are 3 tabs in this dialog box: Fill, Stroke paint and Stroke style.
01:27 Now, we will click on the rectangle in the canvas area. Observe that the options and icons in the Fill and stroke dialog box get enabled.
01:38 First, we will learn about the Fill tab.
01:41 Notice there are 6 icons under the Fill tab. Let us learn what these icons do.
01:48 The first icon is called No paint. It indicates that the object will not be filled with any color.
01:56 Click on the icon and notice the change in the rectangle. The color of the rectangle has been removed.
02:03 The next icon is Flat color. It helps to fill a solid color into an object.
02:11 Click on the Flat color icon and observe the change of colour in the rectangle shape.
02:17 Under Flat color, notice that there are 5 sub-tabs.
02:21 By default, RGB tab is selected.
02:25 Under 'RGB' tab, there are 4 sliders.
02:29 The first 3 sliders indicate the intensity of Red, Green and Blue colours.
02:36 We can change the color by moving these sliders in left or right directions. Observe the color change in the rectangle as I do so.
02:46 The fourth slider is the Alpha slider. With this, we can increase or decrease the opacity level of the colour, from opaque to fully transparent.
02:57 As I move these 4 sliders, observe that

the RGBA values of the color shown in this box change automatically.

03:06 Let me move the sliders once again so that you can observe this change.
03:12 We can change the color manually by changing the values of each color

in the boxes at the right of the sliders.

03:20 Let me change the value of Red to 100, Green to 50 and Blue to 150. Notice the color of the rectangle has now changed to violet.
03:32 I keep the Alpha level as 255 since I do not want to reduce the opacity level.
03:40 The next tab is HSL and it stands for Hue, Saturation and Lightness respectively.
03:49 We can use the Hue slider to get a base color. I move the slider towards the left direction to get a base of green color.
03:59 We can adjust the saturation of the base colour using the Saturation slider.
04:04 Observe the change in the saturation level by moving the slider in left or right directions.
04:12 The Lightness slider adjusts the 'lightness' of the base color.
04:16 With this option, one can vary the shade of the base colour
  • from pure white to pure black
  • or any shade in-between.
04:26 As before, the Alpha slider is used to increase or decrease the opacity level from opaque to fully transparent.
04:35 The next tab is CMYK which denotes Cyan, Magenta, Yellow and Black respectively.
04:44 By moving these sliders, we can increase or decrease the intensity or the depth of the base colour.
04:52 This color mixing option is useful when design projects are to be printed on commercial presses.
05:00 Next is the Wheel tab. This is an alternative representation of the HSL color mixer.
05:07 We can select the base hue by clicking on the color ring that is based on the standard color wheel.
05:14 So, I will click on yellow shade to select a base of yellow color.
05:19 Within the color circle, there is a triangle with a small circle inside it. Just click on it and drag it inside the triangle and observe the color change in the rectangle.
05:31 The CMS tab will only be of real interest to those working in color managed environments.
05:38 For now, we will skip this tab.
05:43 Next, let us learn how to create a Linear gradient.
05:47 Go to canvas and click on the circle.
05:50 Now, come back to the Fill and Stroke dialog box and click on the Linear gradient icon.
05:57 Observe the gradient fill in the circle.
06:00 The gradient will be given a name ending with a series of random numbers.
06:05 In my interface, the number is linearGradient3794. In yours, it may be different.
06:14 We can change the gradient by clicking the Edit button which is right below the linear gradient number button.
06:21 This will open the Gradient editor dialog box.
06:26 The top button in this box is named stop followed by some random numbers and it contains a drop-down menu.
06:34 If you click the arrows on this drop down, you will see two stop options.
06:39 The first one denotes the pure base colour. The other one is half checker board, indicating that it's transparent.
06:48 Select the second option, that is, the transparent stop option.
06:53 Go to the Stop Color below. Change the RGB values to whichever color you like by moving the sliders.
07:00 Keep Alpha value at 255 to make the gradient fully visible. Close the Gradient editor dialog box.
07:09 Now we can change the gradient angle. To do so, click on Node tool from the tool box, on the left of the interface. This is located right below the Selector tool.
07:21 This will display a line on the circle. This line represents the gradient.
07:26 Notice 1 square handle and 1 circular handle called arc handles at the two ends of this line.
07:34 These currently overlap with the arc handles of the circle.
07:38 We will have to move the handles a little bit so that we can see the gradient line arc handles clearly.
07:46 Click and drag the circular arc handle or the square arc handle to change the position where the gradient starts and ends.
07:55 We can also rotate the direction of the gradient by moving the circular arc handle, as demonstrated.
08:02 Now, we will learn how to use Radial gradient. Click on the icon and observe the gradient change in the circle.
08:11 The Radial gradient is formed in a circular shape.
08:15 Notice 1 square arc handle and 2 circular arc handles.
08:20 Click on the middle square arc handle to move the gradient's starting point. I will move it to the bottom left.
08:27 Click and drag on any one of the circular arc handles to make changes in the gradient.
08:33 Observe the change in the height and width of the gradient shape.
08:41 We can find the Gradient tool in the Tool box also.
08:46 Let's click on it and come back to our circle.
08:50 Notice that the cursor has now changed into a plus sign with capital I.
08:56 Now, click anywhere inside the circle and drag. Notice the change in the gradient.
09:04 Now, click anywhere outside the circle and drag.
09:08 Notice the change in the gradient.
09:11 Next we will learn how to overlay various patterns on shapes.
09:16 Go to Tool box, click on the Selector tool and then click on the star shape.
09:22 In the Fill and stroke dialog box, click on the Pattern icon. Notice the color of the star has changed to a stripe pattern.
09:31 There is a drop-down menu under Pattern fill. Click on the arrows to see the available patterns.
09:37 Let's click on Checkerboard and observe the change in the star shape. You can use any of these available patterns shown here.
09:49 We will learn about Swatch in another tutorial.
09:53 The last icon called Unset paint, is used to unset the color of the selected object to black.
10:00 Click on the icon and observe the color change in the star. It has changed to black.
10:06 Now, let us learn how to give stroke or an outline to an object. To do this, we have to use the Stroke paint tab.
10:14 Now, click on Stroke paint tab and click on the rectangle.
10:19 The icons under the Stroke paint tab are the same as the Fill tab.
10:23 They function in the same manner, as well.
10:27 With the first icon, that is No paint, we remove the outline of the shape.
10:31 Next, we will click on Flat color icon.We see a black color outline around the rectangle shape.
10:38 We can increase or decrease the thickness of the outline using the Stroke style tab.
10:49 Let's keep the width parameter as 10. We can also change the units into percentage, point, etc. depending on our requirement.
10:58 I will keep the unit as Pixels.
11:01 Let's go back again to the Stroke paint tab.We can change the color of the stroke, by moving the sliders under the RGB tab.
11:09 Observe the color change in the outline, as I do so.
11:14 Explore the other Flat color options such as HSL, CMYK, Wheel and CMS on your own.
11:21 Now, let me click on the Linear gradient. This gives a gradient outline to the rectangle shape.
11:27 The gradients that we used earlier, will appear in the drop down list here. We can use any of those, too.
11:36 Let me give red and blue gradient outline to my rectangle.
11:42 In a similar way, we can use the remaining stroke icons and give some interesting patterns and gradient outlines to our objects.
11:51 Next we will learn about Stroke style. Click on it.
11:55 We already learnt how to modify the width of the stroke.
11:59 Now, lets look at the 3 Joint icons namely, Miter join, Round join and Bevel join. By default, the stroke is in Miter join.
12:12 Let me zoom in to one of the corners of the rectangle for a better view.
12:17 Now, let's click on the Round join, to give a round corner to the stroke.Observe the changes in the edges of the stroke.
12:26 Next, we will click on the Bevel join option to create a Bevel corner.
12:31 Various dash patterns are available in the Dashes drop down menu.Using these, we can give different dash patterns to the stroke, and vary the width, too.
12:43 Next is the Cap option. This basically works on line strokes.
12:48 Go to Tool box. Click on Freehand tool. So, let us draw a line with the help of Freehand tool.
12:55 Now, let's zoom in to the end of the line.
12:58 By default, Butt cap is selected and it gives a flat edge to the end.
13:04 Now I will click on the Round cap, to give a rounded edge.
13:09 Next, is the Square cap which gives a flat and extended edge to the ends of the line.
13:18 These are 3 Markers right below the Dashes tab, which places markers on the middle of the path.
13:24 Click on the drop down menu of each Marker to see the available lists.
13:30 Under Start Markers, let me select Torso.
13:34 We will select Curvein as Mid markers.
13:37 For the End Markers, we will select Legs.
13:43 Observe a cartoon shape is formed on the canvas.
13:49 Lastly, notice 2 sliders at the bottom of the Fill and stroke dialog box, namely, Blur and Opacity.
13:57 Let's first select the rectangle again.
14:01 The Blur slider is used to give a blur effect to an object. I will click on the slider and move it towards the right.
14:09 Observe that the rectangle becomes blurred, as I move the slider more and more to the right.
14:19 The Opacity slider is used to give transparency to a shape. Move the slider to the right and observe the changes in the shape.
14:32 Let us summarize.In this tutorial we learnt to
14:37 * Fill color in objects, using the Fill and Stroke options
  • Give strokes or outlines to shapes
  • Various types of Gradients and
  • Stroke Paint and Stroke Styles
14:49 Here is an assignment for you
14:52 1. Create a pentagon filled with a Linear gradient of red and yellow color with a blue stroke of width 5 pixels.
15:02 2. An ellipse filled with Wavy pattern and change the opacity to 70%
15:09 3. A line with a width of 10, with Start Markers as Arrow1Lstart and End Markers as Tail.
15:19 Your completed assignment should look like this.
15:23 Watch the video available at the following link. It summarizes the Spoken Tutorial project. If you do not have good bandwidth, you can download and watch it.
15:33 The Spoken Tutorial project team: * conducts workshops using spoken tutorial. * gives certificates to those who pass an online test.
15:42 For more details, please write to: contact at spoken–tutorial.org. Spoken tutorial project is part of the Talk to a Teacher project. It is supported by the NMEICT, MHRD, Government of India.
16:01 More information on this mission is available at: spoken-tutorial.org/NMEICT-intro.
16:11 We have come to the end of this tutorial. This is Arthi and Saurabh from IIT Bombay, signing off. Thanks for joining.

Contributors and Content Editors

Gaurav, PoojaMoolya, Pratik kamble, Priyacst, Sandhya.np14