Skip to content

@jtopo/core / Anchor

Class: Anchor

锚点,表示对象上的某个位置

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Anchor(name?, usageType?)

Parameters

NameType
name?string
usageType?AnchorUsageType

Properties

className

className: string

Implementation of

IAnchor.className


name

name: string

Implementation of

IAnchor.name


usage

usage: AnchorUsageType

锚点类型

Implementation of

IAnchor.usage

Methods

pointerdownHandler

pointerdownHandler(host, stage, xyInHostLocal): void

Parameters

NameType
hostany
stageStage
xyInHostLocalPointLike

Returns

void


pointermoveHandler

pointermoveHandler(host, stage, xyInHostLocal): void

Parameters

NameType
hostany
stageStage
xyInHostLocalPointLike

Returns

void


pointerupHandler

pointerupHandler(host, stage, xyInHostLocal): void

Parameters

NameType
hostany
stageStage
xyInHostLocalPointLike

Returns

void