Winter Cardinal UI - v0.442.0 / DViewImpl
EventEmitter
↳ DViewImpl
• new DViewImpl(parent
, toTarget
, options
): DViewImpl
Name | Type |
---|---|
parent |
DBase <DThemeBase , DBaseOptions <DThemeBase , any >> |
toTarget |
DViewToTarget |
options |
undefined | DViewOptions |
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-view-impl.ts:58
• Protected
_constraint: DViewConstraint
src/main/typescript/wcardinal/ui/d-view-impl.ts:30
• Protected
_dblClickZoomChecker: DViewChecker
src/main/typescript/wcardinal/ui/d-view-impl.ts:45
• Protected
_dblClickZoomModifier: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:44
• Protected
_dblClickZoomSpeed: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:43
• Protected
_dblclickZoomDuration: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:46
• Protected
_gesture: DViewGestureImpl
src/main/typescript/wcardinal/ui/d-view-impl.ts:54
• Protected
_isDblClickZoomEnabled: boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:42
• Protected
_isWheelTranslationEnabled: boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:48
• Protected
_isWheelZoomEnabled: boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:37
• Protected
_parent: DBase
<DThemeBase
, DBaseOptions
<DThemeBase
, any
>>
src/main/typescript/wcardinal/ui/d-view-impl.ts:28
• Protected
_toTarget: DViewToTarget
src/main/typescript/wcardinal/ui/d-view-impl.ts:29
• Protected
_transform: DViewTransformImpl
src/main/typescript/wcardinal/ui/d-view-impl.ts:53
• Protected
_wheelTranslationChecker: DViewChecker
src/main/typescript/wcardinal/ui/d-view-impl.ts:51
• Protected
_wheelTranslationModifier: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:50
• Protected
_wheelTranslationSpeed: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:49
• Protected
_wheelZoomChecker: DViewChecker
src/main/typescript/wcardinal/ui/d-view-impl.ts:40
• Protected
_wheelZoomModifier: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:39
• Protected
_wheelZoomSpeed: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:38
• Protected
_workRect: Rectangle
src/main/typescript/wcardinal/ui/d-view-impl.ts:56
• Protected
_zoomKeepRatio: boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:35
• Protected
_zoomMax: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:34
• Protected
_zoomMin: number
src/main/typescript/wcardinal/ui/d-view-impl.ts:33
• Protected
_zoomPoint: Point
src/main/typescript/wcardinal/ui/d-view-impl.ts:32
▪ Static
Protected
CONSTRAINT: DViewConstraint
src/main/typescript/wcardinal/ui/d-view-impl.ts:23
• get
gesture(): DViewGesture
src/main/typescript/wcardinal/ui/d-view-impl.ts:141
• get
position(): DViewTargetPoint
src/main/typescript/wcardinal/ui/d-view-impl.ts:298
• set
position(position
): void
Name | Type |
---|---|
position |
DViewTargetPoint |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:306
• get
scale(): DViewTargetPoint
src/main/typescript/wcardinal/ui/d-view-impl.ts:272
• set
scale(scale
): void
Name | Type |
---|---|
scale |
DViewTargetPoint |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:280
▸ 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
▸ 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
▸ fit(duration?
, stop?
): void
Fits into a screen.
Name | Type | Description |
---|---|---|
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:174
▸ getThemeDefault(): DThemeView
src/main/typescript/wcardinal/ui/d-view-impl.ts:426
▸ getType(): string
string
src/main/typescript/wcardinal/ui/d-view-impl.ts:430
▸ 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
▸ moveTo(x
, y
, duration?
, stop?
): void
Moves to the given position.
Name | Type | Description |
---|---|---|
x |
number |
a local X coordinate position |
y |
number |
a local Y coordinate position |
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:290
▸ 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
▸ onDblClick(e
, interactionManager
): boolean
Name | Type |
---|---|
e |
MouseEvent | TouchEvent |
interactionManager |
InteractionManager |
boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:389
▸ onDown(e
): void
Name | Type |
---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:385
▸ onWheel(e
, deltas
, global
): boolean
Name | Type |
---|---|
e |
WheelEvent |
deltas |
UtilWheelEventDeltas |
global |
Point |
boolean
src/main/typescript/wcardinal/ui/d-view-impl.ts:340
▸ 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
▸ reset(duration?
, stop?
): void
Resets a position and a scale.
Name | Type | Description |
---|---|---|
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:150
▸ stop(): void
Stops an animation if exits.
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:145
▸ toGlobal(local
, global
, skipUpdate?
): IPoint
Name | Type |
---|---|
local |
IPoint |
global |
Point |
skipUpdate? |
boolean |
IPoint
src/main/typescript/wcardinal/ui/d-view-impl.ts:332
▸ toLocal(global
, local
, skipUpdate?
): IPoint
Name | Type |
---|---|
global |
IPoint |
local |
Point |
skipUpdate? |
boolean |
IPoint
src/main/typescript/wcardinal/ui/d-view-impl.ts:328
▸ toNormalizedScale(scale
): number
Name | Type |
---|---|
scale |
number |
number
src/main/typescript/wcardinal/ui/d-view-impl.ts:336
▸ toTheme(options?
): null
| DThemeView
Name | Type |
---|---|
options? |
DViewOptions |
null
| DThemeView
src/main/typescript/wcardinal/ui/d-view-impl.ts:414
▸ transform(x
, y
, scaleX
, scaleY
, duration?
, stop?
): void
Sets to the specified position and scale.
Name | Type | Description |
---|---|---|
x |
number |
a local X coordinate position |
y |
number |
a local Y coordinate position |
scaleX |
number |
a X coordinate scale |
scaleY |
number |
a Y coordinate scale |
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:314
▸ zoom(scaleX
, scaleY
, duration?
, stop?
): void
Zooms in / out at the current position.
Name | Type | Description |
---|---|---|
scaleX |
number |
a X coordinate scale |
scaleY |
number |
a Y coordinate scale |
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:267
▸ zoomAt(x
, y
, scaleX
, scaleY
, duration?
, stop?
): void
Zooms into the given position.
Name | Type | Description |
---|---|---|
x |
number |
a local X coordinate position |
y |
number |
a local Y coordinate position |
scaleX |
number |
a X coordinate scale |
scaleY |
number |
a Y coordinate scale |
duration? |
number |
an duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:226
▸ zoomAtGlobal(x
, y
, scaleX
, scaleY
, duration?
, stop?
): void
Zooms into the specified global position.
Name | Type | Description |
---|---|---|
x |
number |
a global X coordinate position |
y |
number |
a global Y coordinate position |
scaleX |
number |
a X coordinate scale |
scaleY |
number |
a Y coordinate scale |
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:253
▸ zoomIn(duration?
, stop?
): void
Zooms in at the current position.
Name | Type | Description |
---|---|---|
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void
src/main/typescript/wcardinal/ui/d-view-impl.ts:208
▸ zoomOut(duration?
, stop?
): void
Zooms out at the current position.
Name | Type | Description |
---|---|---|
duration? |
number |
an animation duration |
stop? |
boolean |
false to keep a previous animation |
void