@razi91/types-ol-ext
Version:
Type definitions for ol-ext
11 lines (10 loc) • 378 B
TypeScript
/** Add new properties to style.Text
* to use with layer.Vector.prototype.setTextPathStyle
* @constructor
* @param {} options
* @param {visible|ellipsis|string} textOverflow
* @param {number} minWidth minimum width (px) to draw text, default 0
*/
export default class TextPath {
constructor(options: any, textOverflow: 'visible' | 'ellipsis' | string, minWidth: number);
}