Skip to main content

Class: Feature

The base class for features.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Feature(type)

Parameters

NameTypeDescription
typeFeatureTypeThe type of feature.

Properties

type

Readonly type: FeatureType

Methods

getType

getType(): FeatureType

Get the type of feature.

Returns

FeatureType