Holarch
课程章节

培训 · 课程 13. 白板 · 第 13.2 章,共 4 章

13.2 曲线和线条标签 3:09

通过峰点调整曲线形状,使线端垂直于形状,并放置、旋转和删除标签。

演示 Holarch 2.35。

您将学到

  • 绘制曲线,并用黄色菱形放置其峰点,使其吸附到中点
  • 弯曲或拉直曲线,并在“线条”面板中设置曲线和峰点位置
  • 使线端垂直于其形状的边缘
  • 添加、移动、旋转和删除线条标签

为 Bike-Share Dock 概念画板调整线条:绘制一条曲线箭头,用黄色菱形沿线移动曲线的峰点(它会吸附到中点),增大或减小弯曲度,在“线条”面板中设置曲线和峰点位置,使线端垂直于所连接的边缘,让曲线以直角离开每个形状,然后添加线条标签,沿线和离线移动它们,通过吸附旋转它们,让它们跟随线条,并删除它们。

项目文件

  • 起始项目 (.holarch.json;管理项目 → 项目文件 ▾ → 导入项目 (.json)…)
  • 完成项目 (.holarch.json;管理项目 → 项目文件 ▾ → 导入项目 (.json)…)

视频从 holarch.app 播放;参见隐私政策。

练习

在 Holarch 中基于 Bike-Share Dock 亲自完成此操作。

  1. 打开本章的起始文件和 Dock Concept 白板。
  2. 按 A,在“线条选项”栏中选择 曲线,从 rider 拖到 docking bay。
  3. 将黄色菱形拖向一端,再拖回,直到它吸附到中点。按住 Shift 将其拖离线条。
  4. 在属性面板的 线条 部分,对 起点 和 终点 勾选 垂直于边缘,然后移动 rider。
  5. 双击线条,输入 returns a bike 并按 Enter。沿线拖动标签,拖离线条,再拖回;用其圆形旋钮旋转它。
  6. 添加第二个标签,并用其 × 删除它。

当曲线箭头垂直于两个形状的边缘相接,并带有一个跟随线条的标签时,即完成练习。

自测

  1. 曲线上的黄色菱形表示什么?
  2. 如何不吸附到中点而将峰点放在任意位置?
  3. 线条移动时,是什么让标签保持沿线条方向?
显示答案
  1. 曲线上的黄色菱形表示什么?

    峰点:曲线上离其两端之间直线最远的点。沿线拖动会移动峰点;拖离线条会使曲线更弯。

  2. 如何不吸附到中点而将峰点放在任意位置?

    拖动菱形时按住 Command (Mac) 或 Control。

  3. 线条移动时,是什么让标签保持沿线条方向?

    跟随线条,位于“线条”面板中标签所在的行。

延伸阅读

文字稿

显示文字稿 (旁白和屏幕内容)

Introduction

Chapter two: curves and line labels. A curved line is often the clearest way to show a flow that loops around other shapes, and a label says what the line means.

In this chapter you draw a curved arrow, shape it, and label it.

A curved line

The rider returns the bike at a docking bay. Press the A key, choose Curved in the Line options bar, and drag from the rider to the docking bay.

On screen: A → Curved → drag Rider → Docking Bay.

The new line is selected. The yellow diamond sits on the peak of the curve: the point farthest from a straight line between its ends.

On screen: The curve handle on the peak.

The peak

Drag the diamond along the line toward the docking bay. The peak moves toward that end, and the curve stays one smooth arc.

On screen: Drag the peak toward the docking bay.

Drag it back. Near the middle, it snaps to the center, and a guide shows it. Hold Command, or Control, while you drag to place it anywhere.

On screen: Drag the peak back; it snaps to the middle.

Drag the diamond away from the line to bend the curve more, or toward it to flatten it. With Shift held, only the bend changes.

On screen: Drag the peak outward.

The Line panel shows the same as numbers: Curve for the bend, and Peak position, from five to ninety-five percent along the line. Center puts the peak back in the middle.

On screen: Line panel: Curve, Peak position, Center.

Square ends

Under Ends, tick End in Square to the edge. The curve now meets the docking bay at a right angle to its edge, and eases into its arc. Tick Start too, for the rider.

On screen: Ends → Square to the edge: End, Start.

The setting stays while the shapes move. Drag the rider: both ends stay square.

On screen: Drag Rider.

Line labels

Now a label. Double-click the line, type returns a bike, and press Enter.

On screen: Double-click the curve → returns a bike → Enter.

Click the label to select it. Drag it along the line: it keeps its place along the line when the line moves.

On screen: Drag the label along the line.

Drag it away from the line, and a thin leader line connects it. Bring it back within a few pixels, and it snaps onto the line again.

On screen: Drag the label off the line, then back.

A selected label shows a round knob. Drag it to rotate the label. It snaps to horizontal, to the line's direction and to fifteen-degree steps.

On screen: Drag the rotate knob to the line's direction.

In the Line panel, each label has its position, offsets and rotation, and Follow the line, which keeps it turned along the line wherever the line goes.

On screen: Line panel → Labels.

A line can have several labels. Double-click near the rider for a second one, type paid by app, and press Enter.

On screen: Double-click the line → paid by app.

To delete a label, click its cross, press Delete while it is selected, or right-click it and choose Delete Label. Delete the second one.

On screen: The label's ×.

Recap

To recap: drag the yellow diamond to place the peak, which snaps to the middle; square the ends in the Line panel; and double-click a line to label it, then move, rotate or delete the label.

In the next chapter, you add charts to the board.