forked from react-native-oh-library/RNOHDCS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.ts
41 lines (30 loc) · 2.4 KB
/
paths.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
// 皇冠
export const myPath1 = 'M 50 350 L 50 250 L 30 80 Q 120 200 200 50 Q 280 200 370 80 L 350 250 L 350 350 L 200 350 L 50 350 Z';
// 胖五角星
export const myPath2 = 'M 200 0 L 280 100 L 400 160 L 330 270 L 320 400 L 200 350 L 80 400 L 80 270 L 0 160 L 120 100 Z';
// X
export const myPath3 = 'M 200 80 L 400 0 L 320 200 L 400 400 L 320 400 L 200 250 L 80 400 L 0 400 L 80 200 L 0 0 Z'
// 400*400 多角矩形
export const myPath4 = 'M 0 0 L 50 50 L 0 100 L 50 150 L 0 200 L 50 250 L 0 300 L 50 350 L 0 400 L 150 400 L 200 250 L 250 400 L 400 400 L 350 350 L 400 300 L 350 250 L 350 250 L 400 200 L 350 150 L 400 100 L 350 50 L 400 0 L 300 20 L 200 0 L 100 20 Z'
// 400*400 8行8列
export const myPath5 = 'M 0 0 L 400 0 L 400 50 L 0 50 L 0 100 L 400 100 L 400 150 L 0 150 L 0 200 L 400 200 L 400 250 L 0 250 L 0 300 L 400 300 L 400 350 L 0 350 L 0 400 L 50 400 L 50 0 L 100 0 L 100 400 L 150 400 L 150 0 L 200 0 L 200 0 L 200 400 L 250 400 L 250 400 L 250 0 L 300 0 L 300 400 L 350 400 L 350 0 L 350 0 Z'
// 400 * 400 4 列 4 行
export const myPath6 = "M 0 0 L 0 100 L 100 100 L 100 200 L 200 200 L 200 300 L 300 300 L 300 400 L 400 400 L 400 300 L 300 300 L 300 200 L 200 200 L 200 200 L 200 100 L 100 100 L 100 0 L 0 0 L 0 300 L 100 300 L 100 400 L 200 400 L 200 400 L 200 300 L 100 300 L 100 200 L 0 200 L 0 0 L 300 0 L 300 100 L 400 100 L 400 200 L 300 200 L 300 100 L 200 100 L 200 0 Z"
// 100*100 口
export const myPath7 ="M 0 0 L 0 100 L 100 100 L 100 0 L 100 0 L 0 0 L 20 20 L 20 80 L 80 80 L 80 20 L 80 20 L 20 20 Z"
// 100 * 100 直角三角形
export const myPath8 = "M 0 0 L 100 50 L 0 50 Z"
// 400*400 等腰三角形
export const myPath9 = "M 200 0 L 0 400 L 400 400 Z"
// 400*400 上下对称三角
export const myPath10 = "M 0 0 L 400 0 L 0 400 L 400 400 Z"
// 400*400 左右对称三角
export const myPath11 = "M 0 0 L 0 400 L 400 0 L 400 400 Z"
// 400*400 米字
export const myPath12 = "M 0 0 L 50 0 L 200 200 L 150 0 L 250 0 L 250 0 L 200 200 L 350 0 L 400 0 L 400 50 L 400 50 L 200 200 L 400 150 L 400 250 L 200 200 L 400 350 L 400 350 L 400 400 L 350 400 L 200 200 L 250 400 L 150 400 L 200 200 L 50 400 L 0 400 L 0 350 L 200 200 L 0 250 L 0 250 L 0 150 L 200 200 L 0 50 L 0 50 Z"
// 五角星
export const myPath13 = "M 200 50 L 100 350 L 350 150 L 50 150 L 300 350 Z"
// 线段
export const myPath14 = "M 100 200 L 300 200"
// 线段
export const myPath15 = "M 200 100 L 100 300 L 300 300 Z"