Appearance
@jtopo/core / Anchor
Class: Anchor
锚点,表示对象上的某个位置
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
new Anchor(name?, usageType?)
Parameters
| Name | Type |
|---|---|
name? | string |
usageType? | AnchorUsageType |
Properties
className
className: string
Implementation of
name
name: string
Implementation of
usage
usage: AnchorUsageType
锚点类型
Implementation of
Methods
pointerdownHandler
pointerdownHandler(host, stage, xyInHostLocal): void
Parameters
| Name | Type |
|---|---|
host | any |
stage | Stage |
xyInHostLocal | PointLike |
Returns
void
pointermoveHandler
pointermoveHandler(host, stage, xyInHostLocal): void
Parameters
| Name | Type |
|---|---|
host | any |
stage | Stage |
xyInHostLocal | PointLike |
Returns
void
pointerupHandler
pointerupHandler(host, stage, xyInHostLocal): void
Parameters
| Name | Type |
|---|---|
host | any |
stage | Stage |
xyInHostLocal | PointLike |
Returns
void