KawAnime/assets/subtitle-parser/ass/utils.js

25 lines
617 B
JavaScript

export const alignment = {
numpad: {
1: [16, 2], // Bottom left
2: [16, 50], // Bottom center
3: [16, 98], // Bottom right
4: [8, 2], // Middle left
5: [8, 50], // Middle center
6: [8, 98], // Middle right
7: [0, 2], // Top left
8: [0, 50], // Top center
9: [0, 98] // Top right
},
ssa: {
1: [16, 2], // Bottom left
2: [16, 50], // Bottom center
3: [16, 98], // Bottom right
5: [0, 2], // Top left
6: [0, 50], // Top center
7: [0, 98], // Top right
9: [8, 2], // Middle left
10: [8, 50], // Middle center
11: [8, 98] // Middle right
}
}