-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfew-slides.ts
53 lines (52 loc) · 1.09 KB
/
few-slides.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { DeckBuilder, ShapeBuilder } from "../src/main/kittik";
DeckBuilder.start()
.withSlide((slide) =>
slide
.withShape(
"Press N",
ShapeBuilder.start("FigText")
.withOptions({
font: "Dancing Font",
text: "Next Slide -> N",
x: "center",
y: "middle",
})
.end()
)
.withOrder("Press N")
.end()
)
.withSlide((slide) =>
slide
.withShape(
"Press P",
ShapeBuilder.start("FigText")
.withOptions({
font: "Dancing Font",
text: "Previous Slide -> P",
x: "center",
y: "middle",
})
.end()
)
.withOrder("Press P")
.end()
)
.withSlide((slide) =>
slide
.withShape(
"Press Q",
ShapeBuilder.start("FigText")
.withOptions({
font: "Dancing Font",
text: "Quit -> Q",
x: "center",
y: "middle",
})
.end()
)
.withOrder("Press Q")
.end()
)
.end()
.render();