Winter Cardinal UI - v0.457.0 / EShapeAcceptorImpl
EShapeAcceptorImpl
• new EShapeAcceptorImpl(): EShapeAcceptorImpl
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:19
• Protected _edges: Map<string, EShapeAcceptorEdge>
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:17
▸ add(id, type, x, y): boolean
| Name | Type |
|---|---|
id |
string |
type |
"ALL" | "TAIL" | "HEAD" | EShapeAcceptorEdgeType |
x |
number |
y |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:23
▸ add(id, type, x, y, nx, ny): boolean
| Name | Type |
|---|---|
id |
string |
type |
"ALL" | "TAIL" | "HEAD" | EShapeAcceptorEdgeType |
x |
number |
y |
number |
nx |
number |
ny |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:29
▸ add(id, type, x, y, nx, ny, sx, sy): boolean
| Name | Type |
|---|---|
id |
string |
type |
"ALL" | "TAIL" | "HEAD" | EShapeAcceptorEdgeType |
x |
number |
y |
number |
nx |
number |
ny |
number |
sx |
number |
sy |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:37
▸ add(id, type, x, y, nx, ny, sx, sy, side): boolean
| Name | Type |
|---|---|
id |
string |
type |
"ALL" | "TAIL" | "HEAD" | EShapeAcceptorEdgeType |
x |
number |
y |
number |
nx |
number |
ny |
number |
sx |
number |
sy |
number |
side |
number | "NONE" | "TOP" | "RIGHT" | "BOTTOM" | "LEFT" | "ALL" | ("NONE" | "TOP" | "RIGHT" | "BOTTOM" | "LEFT" | "ALL")[] |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:47
▸ clear(): boolean
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:160
▸ contains(id): boolean
| Name | Type |
|---|---|
id |
string |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:156
▸ each(shape, iteratee): this
| Name | Type |
|---|---|
shape |
EShape |
iteratee |
(edge: EShapeAcceptorEdge, id: string) => void |
this
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:151
▸ get(shape, id): null | EShapeAcceptorEdge
| Name | Type |
|---|---|
shape |
EShape |
id |
string |
null | EShapeAcceptorEdge
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:147
▸ remove(id): null | EShapeAcceptorEdge
| Name | Type |
|---|---|
id |
string |
null | EShapeAcceptorEdge
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:133
▸ size(): number
number
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:143
▸ toNormal(x, y, nx?, ny?): EShapeAcceptorEdgeNormal
| Name | Type |
|---|---|
x |
number |
y |
number |
nx? |
number |
ny? |
number |
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:89
▸ toSide(side?): number
| Name | Type |
|---|---|
side? |
number | "NONE" | "TOP" | "RIGHT" | "BOTTOM" | "LEFT" | "ALL" | ("NONE" | "TOP" | "RIGHT" | "BOTTOM" | "LEFT" | "ALL")[] |
number
src/main/typescript/wcardinal/ui/shape/e-shape-acceptor-impl.ts:112