【Sketch最新文档】2.2-Selecting Layers(选择图层)
Selecting Layers
选择图层
Selecting layers in Sketch is easy: you just click a layer on the Canvas. Once the layer is selected, you should see eight little handles; one in each corner and one in the center of each edge.
在Sketch中选择图层很简单:只需要单击“画布”的图层即可。一旦图层被选中,你应该可以看到八个小的手柄;每个角落一个,每个边的中心有一个。
Note: If you don’t see these handles, but you are sure you selected the layer, you may have accidentally hidden the selection handles. To toggle them, choose View› Canvas › Show Selection Handles in the menu.
注意:如果你没有看到这些手柄,但是你确定你已经选择了图层,你可能是吧这些选择手柄意外隐藏了。那就开启它们,请在菜单中选择“视图(View)>画布(Canvas)>现实选择手柄(Show Selection Handles)”。
Alternatively, youcan use the Layer List to select a layer. Clicking a layer’s name in the listwill select it on the Canvas:
或者,你剋通过使用图层列表选择单个图层。在列表中,点击一个图层的名字将会在画布中选择给图层:
Selecting Multiple layers
选择多个图层
You can select multiple layers by holding down the Shift key on the keyboard and click on another layer. If you hold Shift and click an already selected layer, it will be deselected.
你可以通过同时按住键盘上的Shift键选择多个图层。如果你按住Shift键的时候,点击已经选择的图层,它们会被取消选择。
Click-and-drag from an empty area of the Canvas to select everything that fits in the rectangle.Again, if you have Shift or the Command key pressed, it will extend your selection or deselect any already selected objects.
在画布的上点击拖拽可以框选其中的所有东西,同样,如果你同时按住shift键,会拓展你的选择区域,或者取消已经选择的区域。
If you hold down the Option key as well, it will only select layers that lie entirely within thebounds of the Rectangle.
同样,如果你按住Option键,它会在多个图层中只选择那些被完全框选的图层。
On the left:Shift-drag. On the right: Shift-Option-drag.
左边:按住Shift并拖拽。右边:按住Shift和Option并拖动。
Overlapping Layers
重叠图层
To make it easy to select a layer that is buried under another layer, you can Control-click and choose “Pick Layer” from the shortcut menu. There you will see a list of every layer that is under your pointer:
为了能够方便选择被遮挡的图层,你可以按住Control键单击表面图层(或者打击鼠标右键),呼出快捷面板,从中选择“Pick Layer”。这样你就可以看到鼠标当前位置下面的所有图层的列表:
A convenient shorthand for this is the Option key. When it is held down, Sketch will select the second layer under the pointer instead of the top-most one. If there are multiple layers overlapping and you want the third one then you’ll have to go through the shortcut menu as described above, but in some cases this can be a very convenient trick.
还有一个更快捷的操作,那就是同时按住Option键。当你按住它时,Sketch会选择当前鼠标指针下第二图层而不会选中第一个图层。如果有多个图层相互覆盖,你想要选择第三个图层,那么你就只能按照上面说的方法从快捷面板中的“Pick Layer”里选择图层。有时候这也是个很有用的方法。
Quickly Selecting Layers in Groups
快速选择组中的图层
Groups are a very convenient way of organizing content, and can prevent layers from being accidentally edited; until you double-click it, the group is treated as a single layer and its contents can’t be selected individually.
组(Group)是一种很方便的管理内容的方法,也能防止图层被意外编辑。除非你双击组,里面的内容才被视为单个图层可以选中之外,组内的图层是不可以被单独选中的。
However, there are situations where you want to select a particular layer buried deep inside multiple groups. To save you lots of double-clicking while you go down deeper and deeper into the group hierarchy, you can instead hold down Command and select that deeply buried layer straight away.
然而,有时我们需要从多级嵌套的小组中选择一个特定的图层,为了节约双击鼠标一层一层进入下级小组的功夫,我们可以同时按住Command键,用鼠标直接选择目标图层即可。
Last modified on Oct 02, 2018
最后一次修改于2018年10月02日
更多内容:
The Interface(界面概述)
Canvas
Inspector
Layer List
Toolbar
Touch Bar
更多内容请关注公众号——“one点设计”,点击“设计翻译”>“Sketch最新文档”查阅,会陆续上传全部文档,希望该文档能够帮助到大家。
由于个人水平有限,如翻译中有什么问题,还请指正。如果你也有兴趣翻译设计文档可以和小编联系,欢迎大家多多交流。