Find longest straight chunk when textAlign is not set

This commit is contained in:
Andreas Hocevar
2017-09-10 20:53:10 +02:00
parent abd50b8fcf
commit 94a4554083
4 changed files with 27 additions and 14 deletions
+4 -2
View File
@@ -7764,7 +7764,9 @@ olx.style.TextOptions.prototype.text;
/**
* Text alignment. Possible values: 'left', 'right', 'center', 'end' or 'start'.
* Default is 'start'.
* Default is 'center' for `placement: 'point'`. For `placement: 'line'`, the
* default is to let the renderer choose a placement where `maxAngle` is not
* exceeded.
* @type {string|undefined}
* @api
*/
@@ -7773,7 +7775,7 @@ olx.style.TextOptions.prototype.textAlign;
/**
* Text base line. Possible values: 'bottom', 'top', 'middle', 'alphabetic',
* 'hanging', 'ideographic'. Default is 'alphabetic'.
* 'hanging', 'ideographic'. Default is 'middle'.
* @type {string|undefined}
* @api
*/