This creates a checkered pattern of 20 x 20 pixels. You can add any available element to your pattern. Finally, to use the pattern on an element: rect.attr({ ...
確定! 回上一頁