Constructor
new module:Pattern(source, options)
Pattern constructor
Parameters:
| Name | Type | Description | 
|---|---|---|
source | HTMLImageElement | | Source of the pattern  | 
options | PatternOptions | Some options  |