【Sketch最新文档】3.1-Editing Shapes(编辑形状)

Editing Shapes
编辑形状

Sketch allows you the ability to insert different shapes onto your Canvas. Whilst you can combine multiple shapes with boolean operations you might want to edit the shape by directly editing its points. All vector shapes are made up of a series of points, and connecting these are lines called paths.To edit the shape’s “skeleton”, you need to enter the vector editing mode.

Sketch允许你在画布上添加任何形状。虽然你可以将多个形状通过布尔运算进行组合,但你可能想要通过调整控制点来编辑形状。所有的矢量形状都是由一系列的控制点组成,将这些点连接后称之为路径。要编辑形状的“骨架”,需要进入矢量编辑模式。

To begin editing a shape, choose Insert › Shapes › Rectangle from the pop-up menu in the toolbar (or press R). Draw it on theCanvas and when done, double-click it (or press the Enter key) to begin editing:

要编辑形状,请从工具栏的弹出菜单中选择“插入(Insert)>形状(Shape)>矩形(Rectangle)”(或者按R键)。在画布上绘制,完成后,双击该形状(或者按下Enter键)开始编辑:
在这里插入图片描述

Once in the edit mode, you will see a circular point in each of the corners. Click-and-drag on any of these points to change their position and you will how the shape changes. You can add a new point to a shape hovering over the path between two points and click to insert. To delete a point, click to select it and press theBackspace key on your keyboard.

一旦进入编辑状态,你会在每个角看到一个圆形的控制点。点击并拖动其中任何一个改变其位置,你将了解形状是怎么变化的。你可以在两点之间的路径上点击,以添加新的控制点。要删除某个控制点,单击选中并按下键盘上的删除键。

The paths that lie in-between points can appear either as straight lines, or as curves — depending on the type of point that’s connecting them. If you double-click a point on a rectangle, the point type will change to create a curved path.

两个控制点之间的路径可以是直线也可以是曲线——取决于点的类型。如果你双击控制点,则点的类型将会在曲线点和直线点之间进行切换。

Two little handles will appear on either side of the point that control the curvature of the path.These are called the handle control points. Think of these handle control points as if they are pulling the path towards themselves.

在曲线控制点的两侧会出现两个小手柄用来调整路径的曲率。我们把这两个小手柄称之为句柄控制点。想想这些句柄控制点就好像是它们自己在拉动路径一样。
在这里插入图片描述

More information about how to create vector shapes from scratch, and further detail about points, paths, and shape editing in general can be found in the Vector Editing chapter of the documentation.

有关如何从头创建矢量形状的信息,以及更多关于点,路径,和形状编辑点的内容,请参阅文档中矢量编辑这一部分。

Flattening Layers#
拼合图层

The flatten feature is most commonly associated with boolean operations, however it also has its uses when working with individual shape layers.

拼合功能常与布尔运算相关联,但在处理单个形状图层时也有其用途。

When you rotate or flip a layer, or adjust additional properties such as corner radius, or the number of points — the Flatten tool will become active. This destructive action will do much the same thing, to confirm the applied transformations.

当你旋转或翻转图层时,或者调整其他属性(如圆角半径或者星形的点数量)是,“拼合”工具将会被激活。一旦点击拼合,意味着将确认当前的转换状态。

In the case of a rotated layer, Flatten will set the layer’s rotation value to 0º, whilst working out the total height and width of the layer as a whole. Flattening a rectangle with rounded corners will apply new vector points at the start and ends of the curve, rather than having a single point in the corner.

对于旋转图层,拼合功能会将图层的旋转角度设置为0,同时计算整个图层的总高度和宽度。圆角矩形在拼合的时候,会在曲线的开始和结束的地方产生新的控制点,来取代原来的单个控制点。

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最新文档”查阅,会陆续上传全部文档,希望该文档能够帮助到大家。

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值