Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ass_height = 720 //字幕高度 Ass_width = 1280 //字幕宽度 Ass_font = 50 //字幕字体大小 Ass_T = 7 //单条字幕显示时间 Ass_loc = 7 //字幕位置 小键盘对应的位置 Ass_header = `[Script Info] Title: Default Ass file ScriptType: v4.00+ WrapStyle: 0 ScaledBorderAndShadow: yes PlayResX: ` + strconv.Itoa(Ass_height) + ` PlayResY: ` + strconv.Itoa(Ass_width) + ` [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Default,,` + strconv.Itoa(Ass_font) + `,&H40FFFFFF,&H000017FF,&H80000000,&H40000000,0,0,0,0,100,100,0,0,1,4,4,` + strconv.Itoa(Ass_loc) + `,20,20,50,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text ` )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.