-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathindex.d.ts
More file actions
52 lines (36 loc) · 757 Bytes
/
index.d.ts
File metadata and controls
52 lines (36 loc) · 757 Bytes
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
import {
Material,
Sprite,
} from 'three';
export default class TextSprite extends Sprite {
constructor(options?: {
alignment?: string;
backgroundColor?: string;
color?: string;
fontFamily?: string;
fontSize?: number;
fontStyle?: string;
fontVariant?: string;
fontWeight?: string;
lineGap?: number;
padding?: number;
strokeColor?: string;
strokeWidth?: number;
text?: string;
}, material?: Material);
readonly isTextSprite: true;
text: string;
fontFamily: string;
fontSize: number;
fontWeight: string;
fontVariant: string;
fontStyle: string;
color: string;
strokeWidth: number;
strokeColor: string;
alignment: string;
lineGap: number;
padding: number;
backgroundColor: string;
dispose(): void;
}