Розділи курсів
Навчання · Курс 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.
- Відкрийте початковий файл розділу й дошку Dock Concept.
- Натисніть A, оберіть Крива на панелі параметрів лінії й перетягніть від велосипедиста до док-станції.
- Перетягніть жовтий ромб до одного кінця, а потім назад, доки він не прив’яжеться до середини. Перетягніть його від лінії, утримуючи Shift.
- У розділі інспектора Лінія позначте Перпендикулярно до краю для Початок і Кінець, а потім перемістіть велосипедиста.
- Двічі клацніть лінію, введіть
returns a bikeі натисніть Введення. Перетягніть підпис уздовж лінії, від неї й назад на неї; обертайте його круглою ручкою. - Додайте другий підпис і видаліть його кнопкою ×.
Завдання виконано, коли крива стрілка торкається обох фігур перпендикулярно до їхніх країв і має один підпис, що йде вздовж лінії.
Перевірте себе
- Що показує жовтий ромб на кривій лінії?
- Як розмістити вершину будь-де без прив’язки до середини?
- Що тримає підпис повернутим уздовж лінії, коли лінія переміщується?
Показати відповіді
Що показує жовтий ромб на кривій лінії?
Вершину: точку кривої, найвіддаленішу від прямої між її кінцями. Перетягування вздовж лінії пересуває вершину; перетягування від лінії вигинає криву сильніше.
Як розмістити вершину будь-де без прив’язки до середини?
Утримуйте Command (Mac) або Control, перетягуючи ромб.
Що тримає підпис повернутим уздовж лінії, коли лінія переміщується?
«Уздовж лінії» в рядку підпису на панелі «Лінія».
Докладніше
Стенограма
Показати стенограму (озвучення і те, що на екрані)
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.