美文网首页
c# HatchBrush的用例演示

c# HatchBrush的用例演示

作者: 吉凶以情迁 | 来源:发表于2022-04-07 15:43 被阅读0次
    HatchBrushhb = new HatchBrush(HatchStyle.Vertical, Color.Red, Color.White);//条纹线
                canvasGrapHics.FillRectangle(hb, new Rectangle(10, 10, 200, 100));
    
    image.png
       HatchBrush hb = new HatchBrush(HatchStyle.SmallCheckerBoard, Color.Red, Color.White);//条纹线
                canvasGrapHics.FillRectangle(hb, new Rectangle(10, 10, 200, 100));
    
    
    image.png
            HatchBrush hb = new HatchBrush(HatchStyle.Weave, Color.Red, Color.White);//条纹线
                canvasGrapHics.FillRectangle(hb, new Rectangle(10, 10, 200, 100));
    
    
    image.png

    相关文章

      网友评论

          本文标题:c# HatchBrush的用例演示

          本文链接:https://www.haomeiwen.com/subject/hphpaftx.html