public ImagePattern(image as Object = null, repetition as String = "repeat")
Creates an image pattern. Drawing captures the source, not construction.
| Parameter | Description |
|---|---|
image | Raster descriptor or raster file path, or null until assigned. |
repetition | Repeating axes, defaulting to both. |
pattern = ImagePattern("checker.png", "repeat-x")