API / geotoolkit / platforms / IPatternContext / IPatternContext
platforms.IPatternContext.IPatternContext
Define an interface for context which can create IPattern
Interface
Constructors
Methods
Methods
▸ Abstract createPattern(image, repetition, foregroundColor?): any
Creates a pattern using the specified image and repetition.
| Name | Type | Description |
|---|---|---|
image | IBaseImage | CanvasImageSource | An image to be used as the pattern's image. |
repetition | string | A string indicating how to repeat the pattern's image. |
Optional foregroundColor | string | foreground color of pattern |
any
IPattern