Class: Path

IDEE/impl/style/Path~Path


import Path from 'IDEE/impl/style/Path';

Constructor principal de la clase.

new Path(options)

impl/ol/js/style/Path.js, line 41
Name Type Description
options Object

style options

  • font: Fuente.
  • maxAngle: Ángulo máximo
  • offsetX: Desplazamiento del eje x.
  • offsetY: Desplazamiento del eje y.
  • overflow: Desbordamiento del texto.
  • placement: Colocación.
  • scale: Escala.
  • rotateWithView: Rotación a lo ancho.
  • rotation: Rotación.
  • text: Texto.
  • textAlign: Alineación del texto.
  • textBaseline: Línea de base de texto.
  • fill: Relleno.
  • stroke: Borde.
  • backgroundFill: Fondo del relleno.
  • backgroundStroke: Fondo del borde.
  • padding: Añadir relleno.

Extends

  • OLStyleText

Methods

getMinWidth(){number}

impl/ol/js/style/Path.js, line 83

Devuelve el tamaño mínimo.

Returns:
Valor de la propiedad "minWidth".

getTextOverflow(){number}

impl/ol/js/style/Path.js, line 72

Devuelve el valor de la propiedad "TextOverflow".

Returns:
Valor de la propiedad "textOverflow".