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,在線條選項列中選擇曲線,然後從騎乘者拖曳到停車區。
  3. 將黃色菱形朝一端拖曳,再拖回來直到它貼齊中點。按住 Shift 將它拖離線條。
  4. 在屬性面板的線條區段中,為起點與終點勾選垂直於邊緣,然後移動騎乘者。
  5. 按兩下線條,輸入 returns a bike,然後按 輸入。將標籤沿著線條拖曳、拖離線條,再拖回線上;以其圓形旋鈕旋轉它。
  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.