【源码】颜色与反转的图案填充工具箱

在这里插入图片描述
本代码是对Brian Katz、Ben Hinkle的applypatch和makepatch以及David的applypatch_plus进一步更新。

This is an update of Brian Katz’s update to Ben Hinkle’s original applypatch and makepatch code for replacing colors in figures with hatches as well as David’s applypatch_plus.

这个新版本允许你制作黑白图案填充或使用填充颜色来创建彩色图案。

This new version allows you to either make a black and white hatch or use the colors of the fill to create colored hatches.

此外,还可以进行反转图案填充,即,可以有白色背景的蓝色图案填充或蓝色背景的白色图案填充。

Additionally you can invert the hatch, i.e. it is possible to have a blue hatch with white background or a white hatch with blue background.

完整源码下载地址:

http://page2.dfpan.com/fs/6lcdj2c21f29616aa71/

更多精彩文章请关注微信号:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42825609/article/details/86636001