Skip to content

Commit

Permalink
[DOC]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Sep 29, 2022
1 parent 8ca9289 commit 81fab01
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 31 deletions.
30 changes: 15 additions & 15 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -38788,19 +38788,19 @@ ol.style.Chart.colors = {
*
* @constructor
* @param {olx.style.FillPatternOption=} options
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {olx.style.fillPattern} options.pattern pattern name (override by image option)
* @param {ol.color} options.color pattern color
* @param {ol.style.Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
* @param {number} options.size line size for hash/dot/circle/cross pattern
* @param {number} options.spacing spacing for hash/dot/circle/cross pattern
* @param {number|bool} options.angle angle for hash pattern / true for 45deg dot/circle/cross
* @param {number} options.scale pattern scale
* @extends {ol.style.Fill}
* @api
*/
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {string} options.pattern pattern name (override by image option)
* @param {ol.color} options.color pattern color
* @param {ol.style.Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
* @param {number} options.size line size for hash/dot/circle/cross pattern
* @param {number} options.spacing spacing for hash/dot/circle/cross pattern
* @param {number|bool} options.angle angle for hash pattern / true for 45deg dot/circle/cross
* @param {number} options.scale pattern scale
* @extends {ol.style.Fill}
* @api
*/
ol.style.FillPattern = class olstyleFillPattern extends ol.style.Fill {
constructor(options) {
super();
Expand Down Expand Up @@ -38917,7 +38917,7 @@ ol.style.FillPattern = class olstyleFillPattern extends ol.style.Fill {
}
/** Static fuction to add char patterns
* @param {title}
* @param {*} options
* @param {object} options
* @param {integer} [options.size=10] default 10
* @param {integer} [options. width=10] default 10
* @param {integer} [options.height=10] default 10
Expand Down Expand Up @@ -40967,7 +40967,7 @@ ol.style.Shadow = class olstyleShadow extends ol.style.RegularShape {
* @param {any} options
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {olx.style.fillPattern} options.pattern pattern name (override by image option)
* @param {string} options.pattern pattern name (override by image option)
* @param {ol.colorLike} options.color pattern color
* @param {ol.style.Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
Expand Down
28 changes: 14 additions & 14 deletions src/style/FillPattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ import {asString as ol_color_asString} from 'ol/color'
*
* @constructor
* @param {olx.style.FillPatternOption=} options
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {olx.style.fillPattern} options.pattern pattern name (override by image option)
* @param {ol_color} options.color pattern color
* @param {ol_style_Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
* @param {number} options.size line size for hash/dot/circle/cross pattern
* @param {number} options.spacing spacing for hash/dot/circle/cross pattern
* @param {number|bool} options.angle angle for hash pattern / true for 45deg dot/circle/cross
* @param {number} options.scale pattern scale
* @extends {ol_style_Fill}
* @api
*/
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {string} options.pattern pattern name (override by image option)
* @param {ol_color} options.color pattern color
* @param {ol_style_Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
* @param {number} options.size line size for hash/dot/circle/cross pattern
* @param {number} options.spacing spacing for hash/dot/circle/cross pattern
* @param {number|bool} options.angle angle for hash pattern / true for 45deg dot/circle/cross
* @param {number} options.scale pattern scale
* @extends {ol_style_Fill}
* @api
*/
var ol_style_FillPattern = class olstyleFillPattern extends ol_style_Fill {
constructor(options) {
super();
Expand Down Expand Up @@ -152,7 +152,7 @@ var ol_style_FillPattern = class olstyleFillPattern extends ol_style_Fill {
}
/** Static fuction to add char patterns
* @param {title}
* @param {*} options
* @param {object} options
* @param {integer} [options.size=10] default 10
* @param {integer} [options. width=10] default 10
* @param {integer} [options.height=10] default 10
Expand Down
3 changes: 1 addition & 2 deletions src/style/StrokePattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import {DEVICE_PIXEL_RATIO as ol_has_DEVICE_PIXEL_RATIO} from 'ol/has'
import ol_style_Stroke from 'ol/style/Stroke'
import ol_style_Fill from 'ol/style/Fill'
import {asString as ol_color_asString} from 'ol/color'
import ol_style_FillPattern from './FillPattern'

Expand All @@ -17,7 +16,7 @@ import ol_style_FillPattern from './FillPattern'
* @param {any} options
* @param {ol.style.Image|undefined} options.image an image pattern, image must be preloaded to draw on first call
* @param {number|undefined} options.opacity opacity with image pattern, default:1
* @param {olx.style.fillPattern} options.pattern pattern name (override by image option)
* @param {string} options.pattern pattern name (override by image option)
* @param {ol.colorLike} options.color pattern color
* @param {ol.style.Fill} options.fill fill color (background)
* @param {number} options.offset pattern offset for hash/dot/circle/cross pattern
Expand Down

0 comments on commit 81fab01

Please sign in to comment.