Skip to content
Last updated

API / geotoolkit / map / features / adapters / IGeometryToText / IGeometryToText

Class: IGeometryToText

adapters.IGeometryToText.IGeometryToText

Interface to retrieve feature geometry and apply it to Text as an anchor

Interface

Implemented by

Table of contents

Constructors
  • [new IGeometryToText()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.features.adapters.igeometrytotext.igeometrytotext.md#new igeometrytotext())
Methods

Contents

Constructors

new IGeometryToText()

• new IGeometryToText()

Methods

apply

▸ Abstract apply(geometry, shape, context?): void

Applies feature geometry to Text shape

Parameters

Name Type Description
geometryGeometryfeature geometry
shapeTexttext shape to set the geometry on
Optional contextTransformation | RenderingContextrendering context or its transformation

Returns

void