-
Notifications
You must be signed in to change notification settings - Fork 6
/
custom.d.ts
41 lines (37 loc) · 818 Bytes
/
custom.d.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
declare module "*.svg";
//old -- remember to remove
interface Point {
x: number;
y: number;
angle?: number; // in degrees
dist?: number; //distance from last point
totalDist?: number; //total length of curve up to this point
}
interface SettingData {
verticalAlign: number;
horizontalAlign: number;
spacing: number;
count: number;
rotCheck?: boolean;
autoWidth: boolean;
totalLength?: number;
isLoop?: boolean;
objWidth?: number;
offset: number;
precision: number;
reverse: boolean;
}
interface Pass {
spacing: number;
pointIndex: number;
defaultRot: number;
}
type DataType = "clone" | "text";
interface LinkedData {
readonly namespace: "topathfigma";
setting: SettingData;
curve: VectorNode;
other: SceneNode;
curveCloneID?: string;
readonly type: DataType;
}