mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
commit
0f49814c7b
@ -1,51 +0,0 @@
|
||||
translating---geekpi
|
||||
|
||||
### [Inkscape: Adding some colour][1]
|
||||
|
||||
![inkscape-addingcolour](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/inkscape-addingcolour-945x400.png)
|
||||
|
||||
In our previous Inkscape article, [we covered the absolute basics of getting started with Inkscape][2] — installing, and how to create basic shapes and manipulate them. We also covered changing the colour of inkscape objects using the Palette. While the Palette is great for quickly changing the colour of your objects from a pre-defined list, most times you will need more control over the colours of your objects. This is where we use one of the most important dialogs in Inkscape — the Fill and Stroke dialog.
|
||||
|
||||
**A quick note about the animations in this post: **some of the colours in the animations appear banded. This is just an artifact of the way the animations are created. When you try this out on Inkscape you will see nice smooth gradients of colour.
|
||||
|
||||
### Using the Fill / Stroke dialog
|
||||
|
||||
To open the Fill and Stroke dialog in Inkscape, choose `Object` > `Fill and Stroke` from the main menu. Once opened, the main three tabs of this dialog allow you to inspect and change the Fill colour, Stroke colour, and Stroke style of the currently selected object.
|
||||
|
||||
![open-fillstroke](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/open-fillstroke.gif)
|
||||
|
||||
In Inkscape, the Fill is the main colour given to the body of an object. The stroke of the object is an optional outline of your object. The stroke of an object also has additional styles — configurable in the Stroke style tab — allowing you to change the thickness of the stroke, create a dotted outline, or add rounded corners to you stroke. In this next animation, I change the fill colour of the star, and then change the stroke colour, and tweak the thickness of the stroke:
|
||||
|
||||
![using-fillstroke](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/using-fillstroke.gif)
|
||||
|
||||
### Adding and Editing a gradient
|
||||
|
||||
A gradient can also be the Fill (or the stroke) of an object. To quickly set a gradient fill from the Fill and Stroke dialog, first choose the Fill tab, then pick the linear gradient option:
|
||||
|
||||
![create-gradient](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/create-gradient.gif)
|
||||
|
||||
To edit our gradient further, we need to use the specialised Gradient Tool. Choose the Gradient tool from the toolbar, and some additional gradient editing handles will appear on your selected shape. **Moving the handles** around will change the positioning of the gradient. If you **click on an individual handle**, you can also change the colour of that handle in the Fill and Stroke dialog. To **add an additional stop in your gradient**, double click on the line connecting the handles, and a new handle will appear.
|
||||
|
||||
![editing-gradient](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/editing-gradient.gif)
|
||||
|
||||
* * *
|
||||
|
||||
That covers the basics of adding some more colour and gradients to your Inkscape drawings. The** Fill and Stroke dialog**also has many other options to explore, like pattern fills, different gradient styles, and many different stroke styles. Also check out the additional options in the **Tools control bar** for the **Gradient Tool** to see how you can tweak gradients in different ways too.
|
||||
|
||||
-----------------------
|
||||
|
||||
作者简介:Ryan is a designer that works on stuff for Fedora. He uses Fedora Workstation as his primary desktop, along with the best tools from the Libre Graphics world, notably, the vector graphics editor, Inkscape.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://fedoramagazine.org/inkscape-adding-colour/
|
||||
|
||||
作者:[Ryan Lerch][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: http://ryanlerch.id.fedoraproject.org/
|
||||
[1]:https://fedoramagazine.org/inkscape-adding-colour/
|
||||
[2]:https://fedoramagazine.org/getting-started-inkscape-fedora/
|
@ -71,7 +71,7 @@ sudo dnf install inkscape
|
||||
|
||||
现在你有一堆图形了,你使用选择工具来移动它们。要使用选择工具,首先从工具栏中选择它,然后单击要操作的形状,接着将图形拖动到您想要的位置。
|
||||
|
||||
选择形状时,你还可以使用调整大小手柄来缩放图形。此外,如果你单击所选的图形,调整大小控点将变为旋转模式,并允许你旋转图形:
|
||||
选择形状时,你还可以使用调整大小锚点来缩放图形。此外,如果你单击所选的图形,调整大小控点将变为旋转模式,并允许你旋转图形:
|
||||
|
||||
[
|
||||
![inkscape-movingshapes](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/inkscape-movingshapes.gif)
|
||||
|
49
translated/tech/20161028 Inkscape: Adding some colour.md
Normal file
49
translated/tech/20161028 Inkscape: Adding some colour.md
Normal file
@ -0,0 +1,49 @@
|
||||
### [Inkscape: 添加颜色][1]
|
||||
|
||||
![inkscape-addingcolour](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/inkscape-addingcolour-945x400.png)
|
||||
|
||||
在我们先前的 Inkscape 文章中,[我们介绍了 Inkscape 的基础][2] - 安装,以及如何创建基本形状及操作它们。我们还介绍了使用 Palette 更改 inkscape 对象的颜色。 虽然 Palette 对于从预定义列表快速更改对象颜色非常有用,但大多数情况下,你需要更好地控制对象的颜色。这是我们使用 Inkscape 中最重要的对话框之一 - “Fill and Stroke” 对话框。
|
||||
|
||||
**关于文章中的动画的说明:**动画中的一些颜色看起来有条纹。这只是一个创建动画的方式。当你在 Inkscape 尝试时,你会看到很好的平滑渐变的颜色。
|
||||
|
||||
### 使用 Fill / Stroke 对话框
|
||||
|
||||
要在 Inkscape 中打开“ Fill and Stroke ”对话框,请从主菜单中选择 “Object”>“Fill and Stroke”。打开后,此对话框中的三个选项卡允许你检查和更改当前选定对象的填充颜色,描边颜色和描边样式。
|
||||
|
||||
![open-fillstroke](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/open-fillstroke.gif)
|
||||
|
||||
在 Inkscape 中,Fill是给予对象主体主要颜色。对象的笔画是对象的可选轮廓。 对象的笔画还有其他样式 - 可在“笔触样式”选项卡中进行配置 - ,它允许您更改笔触的粗细,创建虚线轮廓或为笔触添加圆角。 在下面的动画中,我会改变星形的填充颜色,然后改变笔触颜色,并调整笔触的粗细:
|
||||
|
||||
![using-fillstroke](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/using-fillstroke.gif)
|
||||
|
||||
### 添加并编辑渐变
|
||||
|
||||
渐变也可以是对象的填充(或者描边)。要从 “Fill and Stroke” 对话框快速设置渐变填充,请先选择 “Fill” 选项卡,然后选择线性渐变选项:
|
||||
|
||||
![create-gradient](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/create-gradient.gif)
|
||||
|
||||
要进一步编辑我们的渐变,我们需要使用专门的“Gradient Tool”。 从工具栏中选择“Gradient Tool”,会有一些额外的渐变编辑锚点将出现在你选择的形状上。 **移动锚点**将改变渐变的位置。 如果你**单击一个锚点**,您还可以在“Fill and Stroke”对话框中更改该锚点的颜色。 要**在渐变中添加新的锚点**,请双击连接锚点的线,然后会出现一个新的锚点。
|
||||
|
||||
![editing-gradient](https://cdn.fedoramagazine.org/wp-content/uploads/2016/10/editing-gradient.gif)
|
||||
|
||||
* * *
|
||||
|
||||
这篇包括在 Inkscape 图纸中添加一些颜色和渐变的基础知识。 **“Fill and Stroke”** 对话框还有许多其他选项可供探索,如图案填充,不同的渐变样式和许多不同的笔触样式。另外,查看**工具控制栏** 的 **Gradient Tool** 中的其他选项,看看如何以不同的方式调整渐变。
|
||||
|
||||
-----------------------
|
||||
|
||||
作者简介:Ryan是一名 Fedora 设计师。他使用 Fedora Workstation 作为他的主要桌面,还有来自Libre Graphics 世界的最好的工具,尤其是矢量图形编辑器 Inkscape。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://fedoramagazine.org/inkscape-adding-colour/
|
||||
|
||||
作者:[Ryan Lerch][a]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: http://ryanlerch.id.fedoraproject.org/
|
||||
[1]:https://fedoramagazine.org/inkscape-adding-colour/
|
||||
[2]:https://fedoramagazine.org/getting-started-inkscape-fedora/
|
Loading…
Reference in New Issue
Block a user