Skip to content

API / geotoolkit / attributes / ILineDecoration / ILineDecoration

Class: ILineDecoration

attributes.ILineDecoration.ILineDecoration

Define an interface to create line decoration

Interface

Table of contents

Constructors
  • [new ILineDecoration()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.attributes.ilinedecoration.ilinedecoration.md#new ilinedecoration())
Methods

Contents

Constructors

new ILineDecoration()

• new ILineDecoration()

Methods

createLineRenderingContext

▸ Abstract createLineRenderingContext(context): LineRenderingContext

Create line decoration rendering context

Parameters

Name Type Description
contextRenderingContextrendering context

Returns

LineRenderingContext

line rendering context


getClassName

▸ getClassName(): string

Returns

string


getLineWidth

▸ Abstract getLineWidth(lineStyle): number

Return line style width

Parameters

Name Type Description
lineStyleLineStyleline style

Returns

number

line width


getName

▸ Abstract getName(): string

Return line decoration strategy name

Returns

string

line decoration strategy name


getClassName

▸ Static getClassName(): string

Returns

string