(VS2010)实现窗体不规则时,没有GraphiscsPath这个东西吗?
vb.net吧
全部回复
仅看楼主
level 2
Elapseee 楼主
新手,求打救。。。
dim text_path as graphicspath
dim text_region as region
me.backcolor = color.red
me.width = 600
' create the text path.
text_path = new graphicspath( drawing.drawing2d.fillmode.alternate)
text_path.addstring("csdn", new fontfamily("times new roman"), fontstyle.bold, 200,new point(10, 10),
stringformat.genericdefault)
' create a region from the path.
text_region = new region(text_path)
' constrain the form to the region.
me.region = text_region
2014年12月23日 10点12分 1
level 12
没有达到你要的效果?还是报错了?
2014年12月24日 01点12分 2
1