「VexFlow タブ譜 ハーモニクス」の版間の差分
1,298行目: | 1,298行目: | ||
}; | }; | ||
insertTextToSVG(Guitar1_tab_st2_Harm_option); | insertTextToSVG(Guitar1_tab_st2_Harm_option); | ||
var Guitar1_tab_st2_Harmp_option = { | |||
textContent: ["\uFFa0", "\uFFa1", "\uFFa2", "\uFFa3"], // 必須文字列 | |||
strID: "Guitar1_tab_st2_Harmp", // 必須 | |||
Stave_x_Offset: [0, 0, 0, -10, 0, -15, 0, -15, 0], | |||
Stave_y_Offset: 0, | |||
fontSize: 40, | |||
fontFamily: "YonetMuFL, Arial", // オプション、デフォルトは"Bravura, Arial" | |||
shift_x: [ | |||
{x:shiftGuitar1tab_2st[5].x - 28 + 100, y:shiftGuitar1tab_2st[5].y}, | |||
{x:shiftGuitar1tab_2st[6].x - 13 + 100, y:shiftGuitar1tab_2st[6].y}, | |||
{x:shiftGuitar1tab_2st[7].x - 28 + 100, y:shiftGuitar1tab_2st[7].y}, | |||
{x:shiftGuitar1tab_2st[8].x - 5 + 100, y:shiftGuitar1tab_2st[8].y}, | |||
], | |||
IsOffset_x_Abs: true | |||
}; | |||
insertTextToSVG(Guitar1_tab_st2_Harmp_option); | |||
insertTiePathToSVG({x:shiftGuitar1tab_2st[3].x , y:shiftGuitar1tab_2st[3].y - 10}, {x:shiftGuitar1tab_2st[3].x + 45, y:shiftGuitar1tab_2st[3].y - 10}, -1); | insertTiePathToSVG({x:shiftGuitar1tab_2st[3].x , y:shiftGuitar1tab_2st[3].y - 10}, {x:shiftGuitar1tab_2st[3].x + 45, y:shiftGuitar1tab_2st[3].y - 10}, -1); |