Winter Cardinal UI - v0.442.0 / EShape
EventEmitter
↳ EShape
↳↳ EShapeLayer
• Readonly
action: EShapeAction
src/main/typescript/wcardinal/ui/shape/e-shape.ts:49
• Readonly
capability: EShapeCapabilityContainer
src/main/typescript/wcardinal/ui/shape/e-shape.ts:82
• children: EShape
[]
src/main/typescript/wcardinal/ui/shape/e-shape.ts:61
• connector: EShapeConnectorContainer
src/main/typescript/wcardinal/ui/shape/e-shape.ts:56
• corner: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:40
• Optional
cursor: string
src/main/typescript/wcardinal/ui/shape/e-shape.ts:50
• Readonly
data: EShapeData
src/main/typescript/wcardinal/ui/shape/e-shape.ts:48
• Optional
editor: EShapeEditor
src/main/typescript/wcardinal/ui/shape/e-shape.ts:73
• Readonly
fill: EShapeFill
src/main/typescript/wcardinal/ui/shape/e-shape.ts:36
• Optional
gradient: EShapeGradientLike
src/main/typescript/wcardinal/ui/shape/e-shape.ts:44
• id: string
src/main/typescript/wcardinal/ui/shape/e-shape.ts:32
• Optional
image: EShapeImageLike
src/main/typescript/wcardinal/ui/shape/e-shape.ts:42
• index: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:65
• interactive: boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:53
• Optional
layout: EShapeLayout
src/main/typescript/wcardinal/ui/shape/e-shape.ts:62
• parent: null
| EShape
| EShapeContainer
src/main/typescript/wcardinal/ui/shape/e-shape.ts:59
• Optional
Readonly
points: EShapePoints
src/main/typescript/wcardinal/ui/shape/e-shape.ts:41
• radius: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:39
• reference: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:67
• root: EShape
src/main/typescript/wcardinal/ui/shape/e-shape.ts:60
• Optional
runtime: EShapeRuntime
src/main/typescript/wcardinal/ui/shape/e-shape.ts:70
• selected: boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:66
• Optional
shortcut: string
src/main/typescript/wcardinal/ui/shape/e-shape.ts:54
• Readonly
size: IPoint
src/main/typescript/wcardinal/ui/shape/e-shape.ts:35
• Readonly
state: EShapeStateSet
src/main/typescript/wcardinal/ui/shape/e-shape.ts:79
• Readonly
stroke: EShapeStroke
src/main/typescript/wcardinal/ui/shape/e-shape.ts:37
• Readonly
tag: EShapeData
Deprecated
in favor of data.
src/main/typescript/wcardinal/ui/shape/e-shape.ts:47
• Readonly
text: EShapeText
src/main/typescript/wcardinal/ui/shape/e-shape.ts:45
• Optional
texture: Texture
src/main/typescript/wcardinal/ui/shape/e-shape.ts:43
• Optional
title: string
src/main/typescript/wcardinal/ui/shape/e-shape.ts:55
• Readonly
transform: EShapeTransform
src/main/typescript/wcardinal/ui/shape/e-shape.ts:38
• Readonly
type: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:34
• Optional
uploaded: EShapeUploaded
src/main/typescript/wcardinal/ui/shape/e-shape.ts:76
• uuid: number
src/main/typescript/wcardinal/ui/shape/e-shape.ts:33
• visible: boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:51
• Readonly
worldVisible: boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:52
▸ addListener(event
, fn
, context?
): this
Alias method for on
Name | Type |
---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
utils.EventEmitter.addListener
node_modules/pixi.js/pixi.js.d.ts:25495
▸ addUuid(manager
): void
Name | Type |
---|---|
manager |
EShapeResourceManagerSerialization |
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:122
▸ attach(parent
, at?
): this
Name | Type |
---|---|
parent |
EShape | EShapeContainer |
at? |
number |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:87
▸ blur(): this
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:98
▸ clone(): EShape
src/main/typescript/wcardinal/ui/shape/e-shape.ts:93
▸ contains(x
, y
): null
| EShape
Name | Type |
---|---|
x |
number |
y |
number |
null
| EShape
src/main/typescript/wcardinal/ui/shape/e-shape.ts:126
▸ containsAbs(x
, y
, ax
, ay
, sw
, ss
, sa
): boolean
Name | Type |
---|---|
x |
number |
y |
number |
ax |
number |
ay |
number |
sw |
number |
ss |
number |
sa |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:128
▸ containsAbsBBox(x
, y
, ax
, ay
): boolean
Name | Type |
---|---|
x |
number |
y |
number |
ax |
number |
ay |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:137
▸ containsBBox(x
, y
): boolean
Name | Type |
---|---|
x |
number |
y |
number |
boolean
src/main/typescript/wcardinal/ui/shape/e-shape.ts:127
▸ copy(source
): this
Name | Type |
---|---|
source |
EShape |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:91
▸ copy(source
, part
): this
Name | Type |
---|---|
source |
EShape |
part |
number |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:92
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:94
▸ detach(exceptions?
): this
Name | Type |
---|---|
exceptions? |
Set <EShape > |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:89
▸ emit(event
, ...args
): boolean
Calls each of the listeners registered for a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
...args |
any [] |
Arguments that are passed to registered listeners |
boolean
true
if the event had listeners, else false
.
utils.EventEmitter.emit
node_modules/pixi.js/pixi.js.d.ts:25441
▸ eventNames(): (string
| symbol
)[]
Return an array listing the events for which the emitter has registered listeners.
(string
| symbol
)[]
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ focus(): this
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:97
▸ getBounds(skipUpdate?
, result?
): Rectangle
Name | Type |
---|---|
skipUpdate? |
boolean |
result? |
Rectangle |
Rectangle
src/main/typescript/wcardinal/ui/shape/e-shape.ts:142
▸ getBoundsInternal(skipUpdate?
, result?
): Rectangle
Name | Type |
---|---|
skipUpdate? |
boolean |
result? |
Rectangle |
Rectangle
src/main/typescript/wcardinal/ui/shape/e-shape.ts:143
▸ getBoundsLocal(skipUpdate?
, result?
): Rectangle
Name | Type |
---|---|
skipUpdate? |
boolean |
result? |
Rectangle |
Rectangle
src/main/typescript/wcardinal/ui/shape/e-shape.ts:144
▸ getCapability(): undefined
| EShapeCapabilityContainer
undefined
| EShapeCapabilityContainer
src/main/typescript/wcardinal/ui/shape/e-shape.ts:83
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
number
utils.EventEmitter.listenerCount
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event
): Function
[]
Return the listeners registered for a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
Function
[]
utils.EventEmitter.listeners
node_modules/pixi.js/pixi.js.d.ts:25424
▸ lock(part
): this
Name | Type |
---|---|
part |
number |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:108
▸ off(event
, fn?
, context?
, once?
): this
Alias method for removeListener
Name | Type |
---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
utils.EventEmitter.off
node_modules/pixi.js/pixi.js.d.ts:25489
▸ on(event
, fn
, context?
): this
Add a listener for a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this
.
utils.EventEmitter.on
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onAttach(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:88
▸ onChildTransformChange(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:115
▸ onDetach(exceptions?
): void
Name | Type |
---|---|
exceptions? |
Set <EShape > |
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:90
▸ onParentTransformChange(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:114
▸ onRender(time
, renderer
): void
Name | Type |
---|---|
time |
number |
renderer |
Renderer |
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:105
▸ onSizeChange(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:101
▸ onTransformChange(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:113
▸ once(event
, fn
, context?
): this
Add a one-time listener for a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this
.
utils.EventEmitter.once
node_modules/pixi.js/pixi.js.d.ts:25463
▸ removeAllListeners(event?
): this
Remove all listeners, or those of the specified event.
Name | Type | Description |
---|---|---|
event? |
string | symbol |
The event name. |
this
this
.
utils.EventEmitter.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ removeListener(event
, fn?
, context?
, once?
): this
Remove the listeners of a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
fn? |
Function |
Only remove the listeners that match this function. |
context? |
any |
Only remove the listeners that have this context. |
once? |
boolean |
Only remove one-time listeners. |
this
this
.
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ serialize(manager
): DDiagramSerializedItem
Name | Type |
---|---|
manager |
EShapeResourceManagerSerialization |
src/main/typescript/wcardinal/ui/shape/e-shape.ts:121
▸ toDirty(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:86
▸ toGlobal(position
, result
, skipUpdate?
): Point
Name | Type |
---|---|
position |
IPoint |
result |
Point |
skipUpdate? |
boolean |
Point
src/main/typescript/wcardinal/ui/shape/e-shape.ts:140
▸ toLocal(position
, from?
, result?
, skipUpdate?
): Point
Name | Type |
---|---|
position |
IPoint |
from? |
DisplayObject |
result? |
Point |
skipUpdate? |
boolean |
Point
src/main/typescript/wcardinal/ui/shape/e-shape.ts:141
▸ unlock(part
, invoke
): this
Name | Type |
---|---|
part |
number |
invoke |
boolean |
this
src/main/typescript/wcardinal/ui/shape/e-shape.ts:109
▸ update(time
): void
Name | Type |
---|---|
time |
number |
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:104
▸ updateTransform(): void
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:112
▸ updateUploaded(recursively?
): void
Name | Type |
---|---|
recursively? |
boolean |
void
src/main/typescript/wcardinal/ui/shape/e-shape.ts:118
▸ updateUuid(manager
): void
Name | Type |
---|---|
manager |
EShapeResourceManagerSerialization |
void