<!DOCTYPE html> | |
<svg width="100" height="100"> | |
<pattern id="p" patternUnits="userSpaceOnUse" width="100" height="100"> | |
<rect width="100" height="100" fill="green"/> | |
</pattern> | |
<line y1="50" x2="100" y2="50" stroke-width="100" stroke="url(#p) red"/> | |
</svg> |