scriptid "GreenLine"
filter "十字線";
group "自分のフィルタ";
input borderWidth, "線幅", slider, 1 , 0, 100;
input borderColor, "線の色", color, 0 , 0, 255, 0;
code
point pt1,pt2;
float x,y;
Dimensionsof(dest, x, y);
// 縦線
pt1.x = 0;
pt1.y = -y/2;
pt2.x = 0;
pt2.y = y/2;
Line(pt1, pt2, src1, borderColor, borderWidth);
// 横線
pt1.x = -x/2;
pt1.y = 0;
pt2.x = x/2;
pt2.y = 0;
Line(pt1, pt2, src1, borderColor, borderWidth);
blend(src1, src1, dest, 50);