【Sketch最新文档】3.0-Shapes(形状)

The most common type of layers in your document will be shapes. There is a wide variety of default shapes provided with Sketch such as ovals, rectangles, stars and more. Some of these shapes have extra options, such as the ability to add more sizes to a polygon or round corners.

文档中最常见的图层类型就是形状。Sketch中提供了多种的默认形状,如椭圆、矩形、星型等等。其中一些形状有额外的操作,例如你可以调整多边形的变数,设置矩形的圆角半径。

To add a new shape to your document, choose a shape tool from the Insert › Shape pop-up menu in the toolbar. Click-and-drag anywhere in the Canvas to insert your shape. While you’re dragging to insert the shape, Sketch will indicate how large the inserted shape will become. You may see the Inspector update and display some extra options for your new shape (if appropriate).

要在文档中添加新的形状,请在工具栏中选择“插入(Insert)>形状(Shape)”,在弹出的面板中选择要插入的形状。在画布中的任意位置单击并拖拽以插入形状。在拖动插入形状时,Sketch会表明当前形状的大小。你会看到检测器(Inspector)中会实时更新和显示新插入的形状的相关选项(如果有的话)。

Extra Options#
额外选项

Some of the default shapes in Sketch come with additional options, the Star and RoundedRectangle shapes being the most notable. For Stars, the radius and the number of points can be adjusted, whilst for Rounded Rectangles, just the corner radius.

Sketch中一些默认的形状会带有其他额外的选项,星形(Star)和圆角矩形(Rounded Rectangle)应该最为注意。对于星形,半径和角点数时可以调整,而对于圆角矩形,可以调整圆角半径的大小。

Round and Smooth Corners#
圆角和平滑角

Along with the ability to adjust the corner radius on rectangles, there is also the ability to choose between Round and Smooth corners. What this does, is allow you to adjust how the rounded corner of your shape is actually drawn — which means it is simple to achieve the same kind of corners that Apple use in their products and interfaces by choosing Smooth corners.

除了能够调整矩形的圆角半径之外,还可以在圆角和平滑角之间进行选择。这样做,允许你调整实际绘制形状的圆角类型——这意味着通过选择平滑角可以很容易实现想Apple应用界面中使用的相同类型的圆角。

Flip#
翻转

Next to the Rotate option in the Inspector, are two buttons that allow you to flip layers vertically and horizontally. When flipped, the button will be active, but youcan choose to Flatten a flipped, or rotated shape to reset its origin.

在检查器(Inspector)中旋转选项旁边,有两个按钮可以让你将图层垂直和水平翻转起来。翻转后,按钮将处于激活状态,但你可以选择拼合翻转后的图层,或者重置原点旋转该形状。

Shape Terminology#
形状术语

The basic building block of a shape is a point. These are connected by straight or curved lines into a path. A shape can have one or multiple paths and if there is more than one, they are combined together into one path. This concept of combining simple paths into complex shapes is discussed in detail in our section on boolean operations.

形状是由点构成的。它们连接成直线或者曲线路径。一个形状有一个或多个路径,如果有多个路径,那么它们会被合并为一个。在我们布尔运算(boolean operations)部分将会详细讨论将简单路径组合成复杂形状的概念。

Last modified on Oct 02, 2018

最后一次修改于2018年10月02日

更多内容:

The Interface(界面概述)

Canvas

Inspector

Layer List

Toolbar

Touch Bar

Layer Basic(图层概述)

Adding Layers

Selecting Layers

Moving Layers

Resizing Layers

Resizing Constraints

Editing Layers

更多内容请关注公众号——“one点设计”,点击“设计翻译”>“Sketch最新文档”查阅,会陆续上传全部文档,希望该文档能够帮助到大家。

由于个人水平有限,如翻译中有什么问题,还请指正。如果你也有兴趣翻译设计文档可以和小编联系,欢迎大家多多交流。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值