c# HatchBrush的用例演示
2022-04-07 本文已影响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