diff --git a/source/_posts/2023-01-17-skia.md b/source/_posts/2023-01-17-skia.md index 4a9867157e..19a395a99f 100644 --- a/source/_posts/2023-01-17-skia.md +++ b/source/_posts/2023-01-17-skia.md @@ -602,6 +602,9 @@ canvas.drawPath(rectsPath, rectsPaint) ![bukefenli](https:////img10.360buyimg.com/ling/s516x0_jfs/t1/120419/12/34036/210195/63c4b041Fed057bbf/d0b300713c924b66.png) +至此,我们便完成了整体背景图案的绘制。在这里,我们实现了一套使用 JSX 来编写图形组件的形式,通过控制不同的传参,绘制出不同的结果,这也和程序化设计的目标一致——通过输入不同的参数输出不同的设计结果。通过编写大量的图形组件,使得程序化设计输出了丰富多彩的背景图案,大大提高了羚珑模板的丰富度。 + + ## 参考资料 [skia.org](https://skia.org)