Winter Cardinal UI - v0.457.0 / EShapeImage

Class: EShapeImage

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new EShapeImage(image?, type?): EShapeImage

Parameters

Name Type Default value
image? EShapeImageLike undefined
type number EShapeType.IMAGE

Returns

EShapeImage

Overrides

EShapeRectangle.constructor

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-image.ts:11

Properties

_bounds

• Protected Optional _bounds: Rectangle

Inherited from

EShapeRectangle._bounds

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:87


_boundsInternal

• Protected Optional _boundsInternal: Rectangle

Inherited from

EShapeRectangle._boundsInternal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:89


_boundsInternalTransformId

• Protected _boundsInternalTransformId: number

Inherited from

EShapeRectangle._boundsInternalTransformId

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:90


_boundsLocal

• Protected Optional _boundsLocal: Rectangle

Inherited from

EShapeRectangle._boundsLocal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:91


_boundsLocalTransformId

• Protected _boundsLocalTransformId: number

Inherited from

EShapeRectangle._boundsLocalTransformId

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:92


_boundsTransformId

• Protected _boundsTransformId: number

Inherited from

EShapeRectangle._boundsTransformId

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:88


_capability

• Protected Optional _capability: EShapeCapabilityContainer

Inherited from

EShapeRectangle._capability

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:95


_connector

• Protected Optional _connector: EShapeConnectorContainer

Inherited from

EShapeRectangle._connector

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:78


_corner

• Protected _corner: number

Inherited from

EShapeRectangle._corner

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:30


_image

• Protected Optional _image: EShapeImageLike

Inherited from

EShapeRectangle._image

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:31


_lockTransformChild

• Protected _lockTransformChild: EShapeLock

Inherited from

EShapeRectangle._lockTransformChild

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:82


_lockTransformParent

• Protected _lockTransformParent: EShapeLock

Inherited from

EShapeRectangle._lockTransformParent

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:84


_lockTransformThis

• Protected _lockTransformThis: EShapeLock

Inherited from

EShapeRectangle._lockTransformThis

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:83


_lockUploaded

• Protected _lockUploaded: EShapeLock

Inherited from

EShapeRectangle._lockUploaded

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:85


_points

• Protected Optional _points: EShapePoints

Inherited from

EShapeRectangle._points

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:64


_radius

• Protected _radius: number

Inherited from

EShapeRectangle._radius

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:29


_state

• Protected Optional _state: EShapeStateSet

Inherited from

EShapeRectangle._state

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:94


_visible

• Protected _visible: boolean

Inherited from

EShapeRectangle._visible

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:80


action

• Readonly action: EShapeAction

Inherited from

EShapeRectangle.action

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:72


children

• children: EShape[]

Inherited from

EShapeRectangle.children

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:99


cursor

• Optional cursor: string

Inherited from

EShapeRectangle.cursor

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:73


data

• Readonly data: EShapeData

Inherited from

EShapeRectangle.data

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:36


editor

• Optional editor: EShapeEditor

Inherited from

EShapeRectangle.editor

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:111


fill

• Readonly fill: EShapeFill

Inherited from

EShapeRectangle.fill

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:27


gradient

• Optional gradient: EShapeGradientLike

Inherited from

EShapeRectangle.gradient

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:32


id

• id: string

Inherited from

EShapeRectangle.id

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:55


index

• index: number

Inherited from

EShapeRectangle.index

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:103


interactive

• interactive: boolean

Inherited from

EShapeRectangle.interactive

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:74


layout

• Optional layout: EShapeLayout

Inherited from

EShapeRectangle.layout

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:100


parent

• parent: null | EShape | EShapeContainer

Inherited from

EShapeRectangle.parent

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:98


reference

• reference: number

Inherited from

EShapeRectangle.reference

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:105


runtime

• Optional runtime: EShapeRuntime

Inherited from

EShapeRectangle.runtime

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:108


selected

• selected: boolean

Inherited from

EShapeRectangle.selected

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:104


shortcut

• Optional shortcut: string

Inherited from

EShapeRectangle.shortcut

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:75


size

• Readonly size: IPoint

Inherited from

EShapeRectangle.size

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:26


stroke

• Readonly stroke: EShapeStroke

Inherited from

EShapeRectangle.stroke

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:28


tag

• Readonly tag: EShapeData

Deprecated

in favor of data

Inherited from

EShapeRectangle.tag

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:35


text

• Readonly text: EShapeText

Inherited from

EShapeRectangle.text

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:33


texture

• Optional texture: Texture

Inherited from

EShapeRectangle.texture

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:66


title

• Optional title: string

Inherited from

EShapeRectangle.title

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:76


transform

• Readonly transform: EShapeTransform

Inherited from

EShapeRectangle.transform

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:61


type

• Readonly type: number

Inherited from

EShapeRectangle.type

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:57


uploaded

• Optional uploaded: EShapeUploaded

Inherited from

EShapeRectangle.uploaded

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:114


uuid

• uuid: number

Inherited from

EShapeRectangle.uuid

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:56


WORK_HIT_TEST_DATA

▪ Static Protected Optional WORK_HIT_TEST_DATA: EShapeBaseHitTestData

Inherited from

EShapeRectangle.WORK_HIT_TEST_DATA

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:54

Accessors

capability

• get capability(): EShapeCapabilityContainer

Returns

EShapeCapabilityContainer

Inherited from

EShapeRectangle.capability

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:808


connector

• get connector(): EShapeConnectorContainer

Returns

EShapeConnectorContainer

Inherited from

EShapeRectangle.connector

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:299


corner

• get corner(): number

Returns

number

Inherited from

EShapeRectangle.corner

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:92

• set corner(corner): void

Parameters

Name Type
corner number

Returns

void

Inherited from

EShapeRectangle.corner

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:96


image

• get image(): undefined | EShapeImageLike

Returns

undefined | EShapeImageLike

Inherited from

EShapeRectangle.image

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:114

• set image(image): void

Parameters

Name Type
image undefined | EShapeImageLike

Returns

void

Inherited from

EShapeRectangle.image

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:118


points

• get points(): undefined | EShapePoints

Returns

undefined | EShapePoints

Inherited from

EShapeRectangle.points

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:287


radius

• get radius(): number

Returns

number

Inherited from

EShapeRectangle.radius

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:103

• set radius(radius): void

Parameters

Name Type
radius number

Returns

void

Inherited from

EShapeRectangle.radius

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:107


root

• get root(): EShape

Returns

EShape

Inherited from

EShapeRectangle.root

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:291


state

• get state(): EShapeStateSet

Returns

EShapeStateSet

Inherited from

EShapeRectangle.state

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:797


visible

• get visible(): boolean

Returns

boolean

Inherited from

EShapeRectangle.visible

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:308

• set visible(visible): void

Parameters

Name Type
visible boolean

Returns

void

Inherited from

EShapeRectangle.visible

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:319


worldVisible

• get worldVisible(): boolean

Returns

boolean

Inherited from

EShapeRectangle.worldVisible

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:326

Methods

addListener

▸ addListener(event, fn, context?): this

Alias method for on

Parameters

Name Type
event string | symbol
fn Function
context? any

Returns

this

Inherited from

EShapeRectangle.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25495


addUuid

▸ addUuid(manager): void

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

void

Inherited from

EShapeRectangle.addUuid

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:492


attach

▸ attach(parent, at?): this

Parameters

Name Type
parent EShape | EShapeContainer
at? number

Returns

this

Inherited from

EShapeRectangle.attach

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:349


blur

▸ blur(): this

Returns

this

Inherited from

EShapeRectangle.blur

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:826


callChildTransformChange

▸ callChildTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.callChildTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:189


callParentTransformChange

▸ callParentTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.callParentTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:204


clone

▸ clone(): EShapeImage

Returns

EShapeImage

Overrides

EShapeRectangle.clone

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-image.ts:20


contains

▸ contains(x, y): null | EShape

Parameters

Name Type
x number
y number

Returns

null | EShape

Inherited from

EShapeRectangle.contains

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:565


containsAbs

▸ containsAbs(x, y, ax, ay, sw, ss, sa): boolean

Parameters

Name Type
x number
y number
ax number
ay number
sw number
ss number
sa number

Returns

boolean

Inherited from

EShapeRectangle.containsAbs

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-rectangle.ts:19


containsAbsBBox

▸ containsAbsBBox(x, y, ax, ay): boolean

Parameters

Name Type
x number
y number
ax number
ay number

Returns

boolean

Inherited from

EShapeRectangle.containsAbsBBox

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:644


containsBBox

▸ containsBBox(x, y): boolean

Parameters

Name Type
x number
y number

Returns

boolean

Inherited from

EShapeRectangle.containsBBox

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:627


containsChildren

▸ containsChildren(x, y): null | EShape

Parameters

Name Type
x number
y number

Returns

null | EShape

Inherited from

EShapeRectangle.containsChildren

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:604


containsText

▸ containsText(x, y): null | EShape

Parameters

Name Type
x number
y number

Returns

null | EShape

Inherited from

EShapeRectangle.containsText

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:583


copy

▸ copy(source, part?): this

Parameters

Name Type Default value
source EShape undefined
part number EShapeCopyPart.ALL

Returns

this

Inherited from

EShapeRectangle.copy

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:881


destroy

▸ destroy(): void

Returns

void

Inherited from

EShapeRectangle.destroy

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:771


detach

▸ detach(exceptions?): this

Parameters

Name Type
exceptions? Set<EShape>

Returns

this

Inherited from

EShapeRectangle.detach

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:377


emit

▸ emit(event, ...args): boolean

Calls each of the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.
...args any[] Arguments that are passed to registered listeners

Returns

boolean

true if the event had listeners, else false.

Inherited from

EShapeRectangle.emit

Defined in

node_modules/pixi.js/pixi.js.d.ts:25441


eventNames

▸ eventNames(): (string | symbol)[]

Return an array listing the events for which the emitter has registered listeners.

Returns

(string | symbol)[]

Inherited from

EShapeRectangle.eventNames

Defined in

node_modules/pixi.js/pixi.js.d.ts:25415


focus

▸ focus(): this

Returns

this

Inherited from

EShapeRectangle.focus

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:821


getBounds

▸ getBounds(skipUpdate?, result?): Rectangle

Parameters

Name Type
skipUpdate? boolean
result? Rectangle

Returns

Rectangle

Inherited from

EShapeRectangle.getBounds

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:674


getBoundsInternal

▸ getBoundsInternal(skipUpdate?, result?): Rectangle

Parameters

Name Type
skipUpdate? boolean
result? Rectangle

Returns

Rectangle

Inherited from

EShapeRectangle.getBoundsInternal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:690


getBoundsLocal

▸ getBoundsLocal(skipUpdate?, result?): Rectangle

Parameters

Name Type
skipUpdate? boolean
result? Rectangle

Returns

Rectangle

Inherited from

EShapeRectangle.getBoundsLocal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:706


getBoundsSize

▸ getBoundsSize(): IPoint

Returns

IPoint

Inherited from

EShapeRectangle.getBoundsSize

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:722


getBounds_

▸ getBounds_(transform, result): Rectangle

Parameters

Name Type
transform Matrix
result Rectangle

Returns

Rectangle

Inherited from

EShapeRectangle.getBounds_

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:726


getCapability

▸ getCapability(): undefined | EShapeCapabilityContainer

Returns

undefined | EShapeCapabilityContainer

Inherited from

EShapeRectangle.getCapability

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:817


getHitTestSize

▸ getHitTestSize(result): EShapeBaseHitTestData

Parameters

Name Type
result EShapeBaseHitTestData

Returns

EShapeBaseHitTestData

Inherited from

EShapeRectangle.getHitTestSize

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:533


getShapeScale

▸ getShapeScale(): number

Returns

number

Inherited from

EShapeRectangle.getShapeScale

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:509


getStrokeWidthScale

▸ getStrokeWidthScale(style): number

Parameters

Name Type
style number

Returns

number

Inherited from

EShapeRectangle.getStrokeWidthScale

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:517


listenerCount

▸ listenerCount(event): number

Return the number of listeners listening to a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

number

Inherited from

EShapeRectangle.listenerCount

Defined in

node_modules/pixi.js/pixi.js.d.ts:25432


listeners

▸ listeners(event): Function[]

Return the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

Function[]

Inherited from

EShapeRectangle.listeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25424


lock

▸ lock(part): this

Parameters

Name Type
part number

Returns

this

Inherited from

EShapeRectangle.lock

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:220


newFill

▸ newFill(): EShapeFill

Returns

EShapeFill

Inherited from

EShapeRectangle.newFill

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:62


newSize

▸ newSize(): IPoint

Returns

IPoint

Inherited from

EShapeRectangle.newSize

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:51


newStroke

▸ newStroke(): EShapeStroke

Returns

EShapeStroke

Inherited from

EShapeRectangle.newStroke

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:66


newText

▸ newText(): EShapeText

Returns

EShapeText

Inherited from

EShapeRectangle.newText

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:79


newTransform

▸ newTransform(): EShapeTransform

Returns

EShapeTransform

Inherited from

EShapeRectangle.newTransform

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:146


off

▸ off(event, fn?, context?, once?): this

Alias method for removeListener

Parameters

Name Type
event string | symbol
fn? Function
context? any
once? boolean

Returns

this

Inherited from

EShapeRectangle.off

Defined in

node_modules/pixi.js/pixi.js.d.ts:25489


on

▸ on(event, fn, context?): this

Add a listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Inherited from

EShapeRectangle.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25452


onAttach

▸ onAttach(): void

Returns

void

Inherited from

EShapeRectangle.onAttach

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:364


onChildTransformChange

▸ onChildTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.onChildTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:267


onDetach

▸ onDetach(exceptions?): void

Parameters

Name Type
exceptions? Set<EShape>

Returns

void

Inherited from

EShapeRectangle.onDetach

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:393


onKeyDown

▸ onKeyDown(e): boolean

Parameters

Name Type
e KeyboardEvent

Returns

boolean

Inherited from

EShapeRectangle.onKeyDown

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:840


onKeyUp

▸ onKeyUp(e): boolean

Parameters

Name Type
e KeyboardEvent

Returns

boolean

Inherited from

EShapeRectangle.onKeyUp

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:851


onParentTransformChange

▸ onParentTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.onParentTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:211


onRender

▸ onRender(time, renderer): void

Parameters

Name Type
time number
renderer Renderer

Returns

void

Inherited from

EShapeRectangle.onRender

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:872


onSizeChange

▸ onSizeChange(): void

Returns

void

Inherited from

EShapeRectangle.onSizeChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:150


onStateChange

▸ onStateChange(newState, oldState): void

Parameters

Name Type
newState DBaseStateSet
oldState DBaseStateSet

Returns

void

Inherited from

EShapeRectangle.onStateChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:780


onThisTransformChange

▸ onThisTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.onThisTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:196


onTransformChange

▸ onTransformChange(): void

Returns

void

Inherited from

EShapeRectangle.onTransformChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:177


once

▸ once(event, fn, context?): this

Add a one-time listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Inherited from

EShapeRectangle.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25463


removeAllListeners

▸ removeAllListeners(event?): this

Remove all listeners, or those of the specified event.

Parameters

Name Type Description
event? string | symbol The event name.

Returns

this

this.

Inherited from

EShapeRectangle.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25483


removeListener

▸ removeListener(event, fn?, context?, once?): this

Remove the listeners of a given event.

Parameters

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.

Returns

this

this.

Inherited from

EShapeRectangle.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25475


select

▸ select(point): boolean

Parameters

Name Type
point Point

Returns

boolean

Inherited from

EShapeRectangle.select

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:648


serialize

▸ serialize(manager): DDiagramSerializedItem

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

DDiagramSerializedItem

Inherited from

EShapeRectangle.serialize

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:438


serializeChildren

▸ serializeChildren(manager): DDiagramSerializedItem[]

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

DDiagramSerializedItem[]

Inherited from

EShapeRectangle.serializeChildren

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:419


serializeGradient

▸ serializeGradient(manager): number

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

number

Inherited from

EShapeRectangle.serializeGradient

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:137


serializeImage

▸ serializeImage(manager): number

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

number

Inherited from

EShapeRectangle.serializeImage

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-primitive.ts:132


serializeState

▸ serializeState(manager): number

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

number

Inherited from

EShapeRectangle.serializeState

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:433


setFocused

▸ setFocused(isFocused): void

Parameters

Name Type
isFocused boolean

Returns

void

Inherited from

EShapeRectangle.setFocused

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:831


toDirty

▸ toDirty(): void

Returns

void

Inherited from

EShapeRectangle.toDirty

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:341


toGlobal

▸ toGlobal(position, result, skipUpdate?): Point

Parameters

Name Type
position IPoint
result Point
skipUpdate? boolean

Returns

Point

Inherited from

EShapeRectangle.toGlobal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:653


toHitTestData

▸ toHitTestData(x, y): EShapeBaseHitTestData

Parameters

Name Type
x number
y number

Returns

EShapeBaseHitTestData

Inherited from

EShapeRectangle.toHitTestData

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:540


toLocal

▸ toLocal(position, from?, result?, skipUpdate?): Point

Parameters

Name Type
position IPoint
from? DisplayObject
result? Point
skipUpdate? boolean

Returns

Point

Inherited from

EShapeRectangle.toLocal

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:662


unlock

▸ unlock(part, invoke): this

Parameters

Name Type
part number
invoke boolean

Returns

this

Inherited from

EShapeRectangle.unlock

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:236


update

▸ update(time): void

Parameters

Name Type
time number

Returns

void

Inherited from

EShapeRectangle.update

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:863


updateTransform

▸ updateTransform(): void

Returns

void

Inherited from

EShapeRectangle.updateTransform

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:406


updateUploaded

▸ updateUploaded(recursively?): void

Parameters

Name Type
recursively? boolean

Returns

void

Inherited from

EShapeRectangle.updateUploaded

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:271


updateUuid

▸ updateUuid(manager): void

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

void

Inherited from

EShapeRectangle.updateUuid

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-base.ts:500