new FillPattern(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
any |
Properties
|
Extends
- ol.style.Fill
Members
-
<static> patterns
-
Patterns definitions
- See:
-
- pattern generator http://www.imagico.de/map/jsdotpattern.php
Methods
-
<static> addPattern(title, options [, font])
-
Static fuction to add char patterns
Parameters:
Name Type Argument Default Description title
title options
object Properties
Name Type Argument Default Description size
integer <optional>
10 default 10
width
integer <optional>
10 default 10
height
integer <optional>
10 default 10
circles
Array.<circles> <optional>
lines
Array.<pointlist> <optional>
stroke
integer <optional>
fill
bool <optional>
option.char
char <optional>
font
string <optional>
"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