Winter Cardinal UI - v0.457.0 / EShapeConnectorEdgeImpl

Class: EShapeConnectorEdgeImpl

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new EShapeConnectorEdgeImpl(parent, onChange): EShapeConnectorEdgeImpl

Parameters

Name Type
parent EShapeConnector
onChange () => void

Returns

EShapeConnectorEdgeImpl

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:43

Properties

_acceptor

• Protected _acceptor: EShapeConnectorEdgeAcceptor

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:24


_acceptorTransformNew

• Protected _acceptorTransformNew: Matrix

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:25


_acceptorTransformOld

• Protected _acceptorTransformOld: Matrix

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:26


_hasAcceptorTransformOld

• Protected _hasAcceptorTransformOld: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:27


_isAcceptorChanged

• Protected _isAcceptorChanged: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:38


_isLocalChanged

• Protected _isLocalChanged: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:39


_isNormalChanged

• Protected _isNormalChanged: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:40


_isOtherChanged

• Protected _isOtherChanged: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:41


_local

• Protected _local: IPoint

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:30


_localId

• Protected _localId: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:29


_localIdRequired

• Protected _localIdRequired: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:28


_lockCount

• Protected _lockCount: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:37


_margin

• Protected _margin: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:35


_normal

• Protected _normal: IPoint

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:33


_normalId

• Protected _normalId: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:32


_normalIdRequired

• Protected _normalIdRequired: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:31


_onChange

• Protected _onChange: () => void

Type declaration

▸ (): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:23


_other

• Protected _other: null | EShapeConnectorEdge

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:36


_parent

• Protected _parent: EShapeConnector

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:22


_side

• Protected _side: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:34


WORK_MATRIX

▪ Static Protected Optional WORK_MATRIX: Matrix

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:20

Accessors

acceptor

• get acceptor(): EShapeConnectorEdgeAcceptor

Returns

EShapeConnectorEdgeAcceptor

Implementation of

EShapeConnectorEdge.acceptor

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:130


local

• get local(): IPoint

Returns

IPoint

Implementation of

EShapeConnectorEdge.local

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:134


localId

• get localId(): number

Returns

number

Implementation of

EShapeConnectorEdge.localId

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:138


margin

• get margin(): number

Returns

number

Implementation of

EShapeConnectorEdge.margin

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:161

• set margin(margin): void

Parameters

Name Type
margin number

Returns

void

Implementation of

EShapeConnectorEdge.margin

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:165


normal

• get normal(): IPoint

Returns

IPoint

Implementation of

EShapeConnectorEdge.normal

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:142


normalId

• get normalId(): number

Returns

number

Implementation of

EShapeConnectorEdge.normalId

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:146


other

• get other(): null | EShapeConnectorEdge

Returns

null | EShapeConnectorEdge

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:172

• set other(other): void

Parameters

Name Type
other null | EShapeConnectorEdge

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:176


parent

• get parent(): EShapeConnector

Returns

EShapeConnector

Implementation of

EShapeConnectorEdge.parent

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:126


side

• get side(): number

Returns

number

Implementation of

EShapeConnectorEdge.side

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:150

• set side(side): void

Parameters

Name Type
side number

Returns

void

Implementation of

EShapeConnectorEdge.side

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:154

Methods

attach

▸ attach(): this

Returns

this

Implementation of

EShapeConnectorEdge.attach

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:462


copy

▸ copy(source): this

Parameters

Name Type
source EShapeConnectorEdge

Returns

this

Implementation of

EShapeConnectorEdge.copy

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:225


deserialize

▸ deserialize(resourceId, mapping, manager): void

Parameters

Name Type
resourceId number
mapping EShapeUuidMapping
manager EShapeResourceManagerDeserialization

Returns

void

Implementation of

EShapeConnectorEdge.deserialize

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:250


detach

▸ detach(exceptions?): this

Parameters

Name Type
exceptions? Set<EShape>

Returns

this

Implementation of

EShapeConnectorEdge.detach

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:472


doFit

▸ doFit(): boolean

Returns

boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:301


fit

▸ fit(forcibly?): this

Parameters

Name Type
forcibly? boolean

Returns

this

Implementation of

EShapeConnectorEdge.fit

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:292


lock

▸ lock(): void

Returns

void

Implementation of

EShapeConnectorEdge.lock

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:76


onAcceptorChange

▸ onAcceptorChange(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:423


onLocalChange

▸ onLocalChange(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:434


onNormalChange

▸ onNormalChange(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:444


onOtherChange

▸ onOtherChange(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:454


serialize

▸ serialize(manager): number

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

number

Implementation of

EShapeConnectorEdge.serialize

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:236


set

▸ set(acceptorShape?, acceptorEdge?, acceptorX?, acceptorY?, margin?, x?, y?, nx?, ny?, side?): this

Parameters

Name Type
acceptorShape? null | EShape
acceptorEdge? null | string
acceptorX? null | number
acceptorY? null | number
margin? number
x? number
y? number
nx? number
ny? number
side? number

Returns

this

Implementation of

EShapeConnectorEdge.set

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:180


toAcceptorTransform

▸ toAcceptorTransform(shape, result): Matrix

Parameters

Name Type
shape EShape
result Matrix

Returns

Matrix

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:408


unlock

▸ unlock(): void

Returns

void

Implementation of

EShapeConnectorEdge.unlock

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-connector-edge-impl.ts:86