parameter | description |
---|---|
patternUnits | the coordinate system of the pattern attributes either objectBoundingBox (default) or userSpaceOnUse |
patternContentUnits | the coordinate system of the pattern contents either objectBoundingBox or userSpaceOnUse(default) |
patternTransform | the transform to apply to the pattern contents |
x | the x offset of the pattern (default is zero) |
y | the y offset of the pattern (default is zero) |
width | the width of the pattern (required) |
height | the height of the pattern (required) |
xlink:href | link to another pattern that provides some attributes or content |
preserveAspectRatio | whether the aspect ratio of the pattern should be preserved |
By default, the pattern will be tiled by setting the middle of the pattern unit at the top left corner of the shape.