Add offsetX and offsetY properties to ol.style.Text

This commit is contained in:
Frederic Junod
2014-03-11 14:06:51 +01:00
parent 6cadc2b9ab
commit 4a893f7837
4 changed files with 80 additions and 11 deletions

View File

@@ -1021,6 +1021,10 @@
/**
* @typedef {Object} olx.style.TextOptions
* @property {string|undefined} font Font.
* @property {number|undefined} offsetX Horizontal text offset in pixels.
* A positive will shift the text right. Default is `0`.
* @property {number|undefined} offsetY Vertical text offset in pixels.
* A positive will shift the text down. Default is `0`.
* @property {number|undefined} scale Scale.
* @property {number|undefined} rotation Rotation.
* @property {string|undefined} text Text.