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
网友评论