正文
Line Widgets
线部件
1、Creating Lines
创建线
1.1、Drag from the Libraries Pane
从库窗格中拖放线条
Axure RP comes with a few ready-to-use lines that you can access in the
Default
widget library in the
Libraries
pane. These include the horizontal and vertical lines in the
Common
section and the arrows in the
Markup
section. To add one to your design, drag it from the pane and drop it onto the canvas.
Axure RP提供了一些现成的行,您可以在
Libraries
窗格中的
Default
小部件库中访问这些行。这些包括
Common
部分中的水平线和垂直线,以及
Markup
部分中的箭头。要将它添加到设计中,请从窗格中拖动它并将其拖放到画布上。
1.2、The Line Tool
线工具
You can draw straight lines on the canvas using the
Line
tool, available in the
Insert
menu at the top-left of the interface or via the
L
shortcut. Activate the tool and then click-and-drag on the canvas to draw your line. Hold
SHIFT
as you drag to snap the line along 45° increments.
您可以使用
Line
工具在画布上绘制直线,该工具可以在界面左上角的
Insert
菜单中找到,也可以通过
L
快捷方式找到。激活工具,然后在画布上点击并拖动来绘制线条。按住
SHIFT
*拖动可沿45°增量捕捉直线。
line drawn with the line tool
1.3、The Pen Tool
You can draw straight, curved, jagged, wavy, spiral, or any other kind of line you can think of with the
Pen
tool, available in the Insert menu at the top-left of the interface or via the
P
shortcut.
您可以使用
Pen
工具绘制直线、曲线、锯齿状、波浪状、螺旋状或任何您能想到的直线,可以在界面左上角的插入菜单中找到,也可以通过*
P
快捷方式找到。
The pen tool works similarly to its equivalent in other vector drawing applications:
钢笔工具的工作原理类似于它在其他矢量绘图应用:
-
Click the canvas to add a new vector point
单击画布以添加一个新的向量点
-
Click-and-drag to add a curved point
点击-拖动添加一个弯曲点
-
Hold
SHIFT
while dragging to auto align the curve handles to the X or Y axis
按住
SHIFT
,拖动可使曲线手柄自动对齐到X或Y轴
-
Hold
ALT
while dragging to move the drag handles independently of one another
按住
ALT
,拖动可以独立移动拖动手柄
-
Double-click the canvas or press
ESC
to create an open-path shape (a line)
双击画布或按
ESC
创建一个开路形状(一条线)
Note
提示
If you draw an open shape with two straight vector points, it will be labeled as a
Line
in the
Outline
pane. If you curve your points, however, or if you use more than two points, it will be labeled as a
Shape
, but you can still style it like any other line widget.
如果您用两个直的向量点绘制一个开放的形状,它将在“
Outline
”窗格中标记为“
Line
”。但是,如果您弯曲您的点,或者使用两个以上的点,它将被标记为一个
Shape
,但是您仍然可以像其他任何line小部件一样对它进行样式设置。
1.4、Curved Lines
曲线
In addition to drawing curved lines with the
Pen
tool, as explained above, you can also curve straight lines you've already created. To do this, select the line and double-click its border to edit its vector points.
除了使用
Pen
工具绘制曲线外,如上所述,您还可以绘制已经创建的直线。为此,选择直线并双击其边框来编辑其向量点。
Click along the line to add any number of new points, and then drag the points to reposition them. Double-click a point to curve it, or right-click it and select
Curve
in the context menu. You can then drag the point's curve handles to adjust the width and direction of the curve.
单击这一行以添加任意数量的新点,然后拖动这些点以重新定位它们。双击一个点使其弯曲,或者右键单击,在上下文菜单中选择** curve **。然后可以拖动点的曲线手柄来调整曲线的宽度和方向。
2、Line Styles and Arrowheads
线条样式和箭头