c 畫筆Pen繪製光滑模式曲線

2021-04-23 02:19:57 字數 606 閱讀 2643

using system;

using system.collections.generic;

using system.componentmodel;

using system.data;

using system.drawing;

using system.text;

using system.windows.forms;

using system.drawing.drawing2d;

private

void button1_click(object sender, eventargs e)

;blend.positions = new

float ;

brush.interpolationcolors = blend;

pen pen5 = new pen(brush);

graphics g5 = this.creategraphics();

point p = new point ;

g5.smoothingmode = smoothingmode.antialias;

g5.drawcurve(pen5,p);}}

}

c 畫筆Pen繪製曲線

using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...

c 畫筆Pen畫虛線

using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...

c 畫筆Pen畫虛線

using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.text using system.window...