Skip to main content

Class: KeypointLink

Extends

  • BaseType<RawKeypointLink>

Constructors

new KeypointLink(
raw: RawKeypointLink,
startPoint: Keypoint,
endPoint: Keypoint): KeypointLink

Parameters

ParameterType

raw

RawKeypointLink

startPoint

Keypoint

endPoint

Keypoint

Returns

KeypointLink

Overrides

BaseType<RawKeypointLink>.constructor

Properties

color

readonly color: Color;

endPoint

readonly endPoint: Keypoint;

label

readonly label: string;

raw

readonly raw: RawKeypointLink;

Inherited from

BaseType.raw


startPoint

readonly startPoint: Keypoint;

Methods

toJSON()

toJSON(): RawKeypointLink

Returns

RawKeypointLink

Inherited from

BaseType.toJSON