new FillPattern( [options])
Parameters:
Name | Type | Argument | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.style.FillPatternOption |
<optional> |
Properties
|
- Implements:
- ol.structs.IHasChecksum
Extends
- ol.style.Fill
Members
-
patterns
-
Patterns definitions Examples : http://seig.ensg.ign.fr/fichchap.php?NOFICHE=FP31&NOCHEM=CHEMS009&NOLISTE=1&N=8
Methods
-
<static> addPattern(title, options)
-
Static fuction to add char patterns
Parameters:
Name Type Description title
title options
olx.fillpattern.Option size {integer} default 10
- width {integer} default 10 - height {integer} default 10 - circles {Array<circles>} - lines: {Array<pointlist>} - stroke {integer} - fill {bool} - char {char} - font {string} default "10px Arial"
-
clone()
-
Clones the style.
Returns:
- Type
- ol.style.FillPattern
-
getImage()
-
Get canvas used as pattern
Returns:
- Type
- canvas
-
getPattern_(options)
-
Get pattern
Parameters:
Name Type Description options
olx.style.FillPatternOption