posted @ 2008-09-25 17:26 tianfu 阅读(166) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //旋转显示文字 Graphics g=e.Graphics; g.SmoothingMode=System.Drawing.Drawing2D.SmoothingMode.AntiAlias; for(inti=0; i<=360; i+=10) { ... 阅读全文
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //渐变色文字 String text="博客园"; Brush ShadowBrush=Brushes.Gray; Brush ForeBrush=Brushes.Black; Font font=newFont("幼圆", System.Convert.T... 阅读全文
posted @ 2008-09-25 17:26 tianfu 阅读(357) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { Brush foreBrush=Brushes.Blue; Font font=newFont("幼圆", Convert.ToInt16(40), FontStyle.Regular); Graphics g=this.CreateGraphics(); str... 阅读全文
posted @ 2008-09-25 17:26 tianfu 阅读(119) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //使用图像填充文字线条 TextureBrush brush=newTextureBrush(Image.FromFile(Application.StartupPath+"\\myPicture.jpg")); Graphics g=e.Graphics; g.... 阅读全文
posted @ 2008-09-25 17:25 tianfu 阅读(89) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //阴影文字 stringtext="博客园"; Brush shadowBrush=Brushes.Gray; Brush foreBrush=Brushes.Black; Font font=newFont("幼圆", Convert.ToInt16(40... 阅读全文
posted @ 2008-09-25 17:25 tianfu 阅读(155) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //倒影文字 Brush backBrush=Brushes.Gray; Brush foreBrush=Brushes.Black; Font font=newFont("幼圆", Convert.ToInt16(40), FontStyle.Regular);... 阅读全文
posted @ 2008-09-25 17:24 tianfu 阅读(377) 评论(0) 推荐(0) 编辑
摘要:
privatevoidForm1_Paint(objectsender, PaintEventArgs e) { //印版文字 inti=0; Brush backBrush=Brushes.Black; Brush foreBrush=Brushes.Violet; Font font=newFont("Times New Roman", System.Convert.... 阅读全文
posted @ 2008-09-25 17:24 tianfu 阅读(133) 评论(0) 推荐(0) 编辑