Winter Cardinal UI - v0.442.0 / DShadowImpl
NineSlicePlane
↳ DShadowImpl
• new DShadowImpl(texture
, width
, height
, offsetX
, offsetY
): DShadowImpl
Name | Type |
---|---|
texture |
Texture |
width |
number |
height |
number |
offsetX |
number |
offsetY |
number |
NineSlicePlane.constructor
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:16
• _accessibleActive: boolean
Member
Memberof
PIXI.DisplayObject#
Todo
Needs docs.
NineSlicePlane._accessibleActive
node_modules/pixi.js/pixi.js.d.ts:14843
• _accessibleDiv: boolean
Member
Memberof
PIXI.DisplayObject#
Todo
Needs docs.
NineSlicePlane._accessibleDiv
node_modules/pixi.js/pixi.js.d.ts:14849
• _bounds: Bounds
The bounds object, this is used to calculate and store the bounds of the displayObject.
Member
PIXI.DisplayObject#_bounds
NineSlicePlane._bounds
node_modules/pixi.js/pixi.js.d.ts:14965
• Protected
_boundsID: number
Flags the cached bounds as dirty.
Member
PIXI.DisplayObject#_boundsID
NineSlicePlane._boundsID
node_modules/pixi.js/pixi.js.d.ts:14978
• Protected
_boundsRect: Bounds
Cache of this display-object’s bounds-rectangle.
Member
PIXI.DisplayObject#_boundsRect
NineSlicePlane._boundsRect
node_modules/pixi.js/pixi.js.d.ts:14985
• Protected
_destroyed: boolean
If the object has been destroyed via destroy(). If true, it should not be used.
Member
PIXI.DisplayObject#_destroyed
NineSlicePlane._destroyed
node_modules/pixi.js/pixi.js.d.ts:15006
• Protected
_enabledFilters: Filter
[]
Currently enabled filters
Member
PIXI.DisplayObject#_enabledFilters
NineSlicePlane._enabledFilters
node_modules/pixi.js/pixi.js.d.ts:14959
• _height: number
The height of the NineSlicePlane, setting this will actually modify the vertices and UV’s of this plane
Member
PIXI.NineSlicePlane#_height
NineSlicePlane._height
node_modules/pixi.js/pixi.js.d.ts:14452
• Protected
_lastSortedIndex: number
Which index in the children array the display component was before the previous zIndex sort. Used by containers to help sort objects with the same zIndex, by using previous array index as the decider.
Member
PIXI.DisplayObject#_lastSortedIndex
NineSlicePlane._lastSortedIndex
node_modules/pixi.js/pixi.js.d.ts:14928
• _localBounds: Bounds
Local bounds object, swapped with _bounds
when using getLocalBounds()
.
Member
PIXI.DisplayObject#_localBounds
NineSlicePlane._localBounds
node_modules/pixi.js/pixi.js.d.ts:14971
• Protected
_localBoundsRect: Bounds
Cache of this display-object’s local-bounds rectangle.
Member
PIXI.DisplayObject#_localBoundsRect
NineSlicePlane._localBoundsRect
node_modules/pixi.js/pixi.js.d.ts:14992
• Protected
_mask: null
| Container
| MaskData
The original, cached mask of the object.
Member
PIXI.DisplayObject#_mask
NineSlicePlane._mask
node_modules/pixi.js/pixi.js.d.ts:14999
• Protected
_offsetX: number
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:11
• Protected
_offsetY: number
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:12
• Protected
_shiftX: number
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:13
• Protected
_shiftY: number
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:14
• Protected
_tempDisplayObjectParent: Container
Member
DShadow._tempDisplayObjectParent
NineSlicePlane._tempDisplayObjectParent
node_modules/pixi.js/pixi.js.d.ts:15079
• _width: number
The width of the NineSlicePlane, setting this will actually modify the vertices and UV’s of this plane
Member
PIXI.NineSlicePlane#_width
NineSlicePlane._width
node_modules/pixi.js/pixi.js.d.ts:14445
• Protected
_zIndex: number
The zIndex of the displayObject. A higher value will mean it will be rendered on top of other displayObjects within the same container.
Member
PIXI.DisplayObject#_zIndex
NineSlicePlane._zIndex
node_modules/pixi.js/pixi.js.d.ts:14936
• accessible: boolean
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.accessible
node_modules/pixi.js/pixi.js.d.ts:14822
• accessibleChildren: boolean
Setting to false will prevent any children inside this container to be accessible. Defaults to true.
Member
Memberof
PIXI.DisplayObject#
Default
true
NineSlicePlane.accessibleChildren
node_modules/pixi.js/pixi.js.d.ts:14876
• accessibleHint: string
Sets the aria-label attribute of the shadow div
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.accessibleHint
node_modules/pixi.js/pixi.js.d.ts:14837
• accessiblePointerEvents: string
Specify the pointer-events the accessible div will use Defaults to auto.
Member
Memberof
PIXI.DisplayObject#
Default
'auto'
DShadow.accessiblePointerEvents
NineSlicePlane.accessiblePointerEvents
node_modules/pixi.js/pixi.js.d.ts:14867
• accessibleTitle: string
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to ‘displayObject [tabIndex]’
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.accessibleTitle
node_modules/pixi.js/pixi.js.d.ts:14830
• accessibleType: string
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
Member
Memberof
PIXI.DisplayObject#
Default
'button'
NineSlicePlane.accessibleType
node_modules/pixi.js/pixi.js.d.ts:14858
• alpha: number
The opacity of the object.
Member
PIXI.DisplayObject#alpha
NineSlicePlane.alpha
node_modules/pixi.js/pixi.js.d.ts:14889
• angle: number
The angle of the object in degrees. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.
Member
NineSlicePlane.angle
node_modules/pixi.js/pixi.js.d.ts:15166
• blendMode: number
The blend mode to be applied to the Mesh. Apply a value of
PIXI.BLEND_MODES.NORMAL
to reset the blend mode.
Member
Default
PIXI.BLEND_MODES.NORMAL;
See
PIXI.BLEND_MODES
NineSlicePlane.blendMode
node_modules/pixi.js/pixi.js.d.ts:14573
• bottomHeight: number
The height of the bottom row
Member
NineSlicePlane.bottomHeight
node_modules/pixi.js/pixi.js.d.ts:14498
• buttonMode: boolean
If enabled, the mouse cursor use the pointer behavior when hovered over the displayObject if it is interactive
Setting this changes the ‘cursor’ property to 'pointer'
.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.buttonMode = true;
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.buttonMode
node_modules/pixi.js/pixi.js.d.ts:15248
• cacheAsBitmap: boolean
Set this to true if you want this display object to be cached as a bitmap.
This basically takes a snap shot of the display object as it is at that moment. It can
provide a performance benefit for complex static displayObjects.
To remove simply set this property to false
IMPORTANT GOTCHA - Make sure that all your textures are preloaded BEFORE setting this property to true as it will take a snapshot of what is currently there. If the textures have not loaded then they will not appear.
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.cacheAsBitmap
node_modules/pixi.js/pixi.js.d.ts:15275
• Readonly
children: DisplayObject
[]
The array of children of this container.
Member
PIXI.Container#children
NineSlicePlane.children
node_modules/pixi.js/pixi.js.d.ts:14655
• cursor: string
This defines what cursor mode is used when the mouse cursor is hovered over the displayObject.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.cursor = 'wait';
See
https://developer.mozilla.org/en/docs/Web/CSS/cursor
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.cursor
node_modules/pixi.js/pixi.js.d.ts:15262
• drawMode: number
The way the Mesh should be drawn, can be any of the PIXI.DRAW_MODES constants.
Member
PIXI.Mesh#drawMode
See
PIXI.DRAW_MODES
NineSlicePlane.drawMode
node_modules/pixi.js/pixi.js.d.ts:14534
• filterArea: Rectangle
The area the filter is applied to. This is used as more of an optimization rather than figuring out the dimensions of the displayObject each frame you can set this rectangle.
Also works as an interaction mask.
Member
PIXI.DisplayObject#filterArea
NineSlicePlane.filterArea
node_modules/pixi.js/pixi.js.d.ts:14945
• filters: Filter
[]
Sets the filters for the displayObject.
'null'
.Member
PIXI.DisplayObject#filters
NineSlicePlane.filters
node_modules/pixi.js/pixi.js.d.ts:14953
• Readonly
geometry: Geometry
Includes vertex positions, face indices, normals, colors, UVs, and custom attributes within buffers, reducing the cost of passing all this data to the GPU. Can be shared between multiple Mesh objects.
Member
PIXI.Mesh#geometry
NineSlicePlane.geometry
node_modules/pixi.js/pixi.js.d.ts:14515
• height: number
The height of the NineSlicePlane, setting this will actually modify the vertices and UV’s of this plane
Member
NineSlicePlane.height
node_modules/pixi.js/pixi.js.d.ts:14474
• hitArea: IHitArea
Interaction shape. Children will be hit first, then this shape will be checked. Setting this will cause this shape to be checked in hit tests rather than the displayObject’s bounds.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.hitArea = new PIXI.Rectangle(0, 0, 100, 100);
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.hitArea
node_modules/pixi.js/pixi.js.d.ts:15236
• interactive: boolean
Enable interaction events for the DisplayObject. Touch, pointer and mouse
events will not be emitted unless interactive
is set to true
.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.on('tap', (event) => {
//handle event
});
Member
Memberof
PIXI.DisplayObject#
NineSlicePlane.interactive
node_modules/pixi.js/pixi.js.d.ts:15224
• interactiveChildren: boolean
Determines if the children to the displayObject can be clicked/touched
Setting this to false allows PixiJS to bypass a recursive hitTest
function
Member
Memberof
PIXI.Container#
NineSlicePlane.interactiveChildren
node_modules/pixi.js/pixi.js.d.ts:14802
• isMask: boolean
Does any other displayObject use this object as a mask?
Member
PIXI.DisplayObject#isMask
NineSlicePlane.isMask
node_modules/pixi.js/pixi.js.d.ts:15016
• isSprite: boolean
used to fast check if a sprite is.. a sprite!
Member
PIXI.DisplayObject#isSprite
NineSlicePlane.isSprite
node_modules/pixi.js/pixi.js.d.ts:15011
• leftWidth: number
The width of the left column
Member
NineSlicePlane.leftWidth
node_modules/pixi.js/pixi.js.d.ts:14480
• Readonly
localTransform: Matrix
Current transform of the object based on local factors: position, scale, other stuff.
Member
NineSlicePlane.localTransform
node_modules/pixi.js/pixi.js.d.ts:15124
• mask: null
| Container
| MaskData
Sets a mask for the displayObject. A mask is an object that limits the visibility of an
object to the shape of the mask applied to it. In PixiJS a regular mask must be a
PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it
utilities shape clipping. To remove a mask, set this property to null
.
For sprite mask both alpha and red channel are used. Black mask is the same as transparent mask.
Example
const graphics = new PIXI.Graphics();
graphics.beginFill(0xFF3300);
graphics.drawRect(50, 250, 100, 100);
graphics.endFill();
const sprite = new PIXI.Sprite(texture);
sprite.mask = graphics;
Todo
At the moment, PIXI.CanvasRenderer doesn’t support PIXI.Sprite as mask.
Member
NineSlicePlane.mask
node_modules/pixi.js/pixi.js.d.ts:15202
• material: MeshMaterial
Alias for PIXI.Mesh#shader.
Member
NineSlicePlane.material
node_modules/pixi.js/pixi.js.d.ts:14564
• name: string
The instance name of the object.
Memberof
PIXI.DisplayObject#
Member
name
NineSlicePlane.name
node_modules/pixi.js/pixi.js.d.ts:15282
• parent: Container
The display object container that contains this display object.
Member
PIXI.DisplayObject#parent
NineSlicePlane.parent
node_modules/pixi.js/pixi.js.d.ts:14913
• pivot: ObservablePoint
The pivot point of the displayObject that it rotates around. Assignment by value since pixi-v4.
Member
NineSlicePlane.pivot
node_modules/pixi.js/pixi.js.d.ts:15145
• position: ObservablePoint
The coordinate of the object relative to the local coordinates of the parent. Assignment by value since pixi-v4.
Member
NineSlicePlane.position
node_modules/pixi.js/pixi.js.d.ts:15131
• renderable: boolean
Can this object be rendered, if false the object will not be drawn but the updateTransform methods will still be called.
Only affects recursive calls from parent. You can ask for bounds manually.
Member
PIXI.DisplayObject#renderable
NineSlicePlane.renderable
node_modules/pixi.js/pixi.js.d.ts:14907
• rightWidth: number
The width of the right column
Member
NineSlicePlane.rightWidth
node_modules/pixi.js/pixi.js.d.ts:14486
• rotation: number
The rotation of the object in radians. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.
Member
NineSlicePlane.rotation
node_modules/pixi.js/pixi.js.d.ts:15159
• roundPixels: boolean
If true PixiJS will Math.floor() x/y values when rendering, stopping pixel interpolation. Advantages can include sharper image quality (like text) and faster rendering on canvas. The main disadvantage is movement of objects may appear less smooth. To set the global default, change PIXI.settings.ROUND_PIXELS
Member
Default
false
NineSlicePlane.roundPixels
node_modules/pixi.js/pixi.js.d.ts:14583
• scale: ObservablePoint
The scale factor of the object. Assignment by value since pixi-v4.
Member
NineSlicePlane.scale
node_modules/pixi.js/pixi.js.d.ts:15138
• shader: Shader
| MeshMaterial
Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.
Member
PIXI.Mesh#shader
NineSlicePlane.shader
node_modules/pixi.js/pixi.js.d.ts:14521
• size: number
How much of the geometry to draw, by default 0
renders everything.
Member
PIXI.Mesh#size
Default
0
NineSlicePlane.size
node_modules/pixi.js/pixi.js.d.ts:14546
• skew: ObservablePoint
The skew factor for the object in radians. Assignment by value since pixi-v4.
Member
NineSlicePlane.skew
node_modules/pixi.js/pixi.js.d.ts:15152
• sortDirty: boolean
Should children be sorted by zIndex at the next updateTransform call. Will get automatically set to true if a new child is added, or if a child’s zIndex changes.
Member
PIXI.Container#sortDirty
NineSlicePlane.sortDirty
node_modules/pixi.js/pixi.js.d.ts:14678
• sortableChildren: boolean
If set to true, the container will sort its children by zIndex value when updateTransform() is called, or manually if sortChildren() is called.
This actually changes the order of elements in the array, so should be treated as a basic solution that is not performant compared to other solutions, such as
Link
https://github.com/pixijs/pixi-display
Also be aware of that this may not work nicely with the addChildAt() function, as the zIndex sorting may cause the child to automatically sorted to another position.
See
PIXI.settings.SORTABLE_CHILDREN
Member
PIXI.Container#sortableChildren
NineSlicePlane.sortableChildren
node_modules/pixi.js/pixi.js.d.ts:14671
• start: number
Typically the index of the IndexBuffer where to start drawing.
Member
PIXI.Mesh#start
Default
0
NineSlicePlane.start
node_modules/pixi.js/pixi.js.d.ts:14540
• state: State
Represents the WebGL state the Mesh required to render, excludes shader and geometry. E.g., blend mode, culling, depth testing, direction of rendering triangles, backface, etc.
Member
PIXI.Mesh#state
NineSlicePlane.state
node_modules/pixi.js/pixi.js.d.ts:14527
• texture: Texture
The texture that the Mesh uses.
Member
NineSlicePlane.texture
node_modules/pixi.js/pixi.js.d.ts:14597
• tint: number
The multiply tint applied to the Mesh. This is a hex value. A value of
0xFFFFFF
will remove any tint effect.
Member
Default
0xFFFFFF
NineSlicePlane.tint
node_modules/pixi.js/pixi.js.d.ts:14591
• topHeight: number
The height of the top row
Member
NineSlicePlane.topHeight
node_modules/pixi.js/pixi.js.d.ts:14492
• transform: Transform
World transform and local transform of this object. This will become read-only later, please do not assign anything there unless you know what are you doing.
Member
PIXI.DisplayObject#transform
NineSlicePlane.transform
node_modules/pixi.js/pixi.js.d.ts:14883
• Readonly
uvBuffer: Buffer
To change mesh uv’s, change its uvBuffer data and increment its _updateID.
Member
NineSlicePlane.uvBuffer
node_modules/pixi.js/pixi.js.d.ts:14552
• Readonly
verticesBuffer: Buffer
To change mesh vertices, change its uvBuffer data and increment its _updateID. Incrementing _updateID is optional because most of Mesh objects do it anyway.
Member
NineSlicePlane.verticesBuffer
node_modules/pixi.js/pixi.js.d.ts:14559
• visible: boolean
The visibility of the object. If false the object will not be drawn, and the updateTransform function will not be called.
Only affects recursive calls from parent. You can ask for bounds or call updateTransform manually.
Member
PIXI.DisplayObject#visible
NineSlicePlane.visible
node_modules/pixi.js/pixi.js.d.ts:14898
• width: number
The width of the NineSlicePlane, setting this will actually modify the vertices and UV’s of this plane
Member
NineSlicePlane.width
node_modules/pixi.js/pixi.js.d.ts:14468
• Readonly
worldAlpha: number
The multiplied alpha of the displayObject.
Member
PIXI.DisplayObject#worldAlpha
NineSlicePlane.worldAlpha
node_modules/pixi.js/pixi.js.d.ts:14920
• Readonly
worldTransform: Matrix
Current transform of the object based on world (parent) factors.
Member
NineSlicePlane.worldTransform
node_modules/pixi.js/pixi.js.d.ts:15117
• Readonly
worldVisible: boolean
Indicates if the object is globally visible.
Member
NineSlicePlane.worldVisible
node_modules/pixi.js/pixi.js.d.ts:15182
• x: number
The position of the displayObject on the x axis relative to the local coordinates of the parent. An alias to position.x
Member
NineSlicePlane.x
node_modules/pixi.js/pixi.js.d.ts:15103
• y: number
The position of the displayObject on the y axis relative to the local coordinates of the parent. An alias to position.y
Member
NineSlicePlane.y
node_modules/pixi.js/pixi.js.d.ts:15110
• zIndex: number
The zIndex of the displayObject. If a container has the sortableChildren property set to true, children will be automatically sorted by zIndex value; a higher value will mean it will be moved towards the end of the array, and thus rendered on top of other displayObjects within the same container.
Member
NineSlicePlane.zIndex
node_modules/pixi.js/pixi.js.d.ts:15175
▪ Static
BATCHABLE_SIZE: number
The maximum number of vertices to consider batchable. Generally, the complexity of the geometry.
Memberof
PIXI.Mesh
Static
Member
BATCHABLE_SIZE
NineSlicePlane.BATCHABLE_SIZE
node_modules/pixi.js/pixi.js.d.ts:13540
▸ _calculateBounds(): void
Updates the bounds of the mesh as a rectangle. The bounds calculation takes the worldTransform into account. there must be a aVertexPosition attribute present in the geometry for bounds to be calculated correctly.
void
NineSlicePlane._calculateBounds
node_modules/pixi.js/pixi.js.d.ts:14630
▸ _recursivePostUpdateTransform(): void
Recursively updates transform of all objects from the root to this one internal function for toLocal()
void
DShadow._recursivePostUpdateTransform
NineSlicePlane._recursivePostUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:15021
▸ _refresh(): void
Refreshes NineSlicePlane coords. All of them.
void
NineSlicePlane._refresh
node_modules/pixi.js/pixi.js.d.ts:14502
▸ _render(renderer
): void
Standard renderer draw.
Name | Type | Description |
---|---|---|
renderer |
Renderer |
Instance to renderer. |
void
NineSlicePlane._render
node_modules/pixi.js/pixi.js.d.ts:14603
▸ _renderDefault(renderer
): void
Standard non-batching way of rendering.
Name | Type | Description |
---|---|---|
renderer |
Renderer |
Instance to renderer. |
void
NineSlicePlane._renderDefault
node_modules/pixi.js/pixi.js.d.ts:14609
▸ _renderToBatch(renderer
): void
Rendering by using the Batch system.
Name | Type | Description |
---|---|---|
renderer |
Renderer |
Instance to renderer. |
void
NineSlicePlane._renderToBatch
node_modules/pixi.js/pixi.js.d.ts:14615
▸ addChild<TChildren
>(...children
): TChildren
[0
]
Adds one or more children to the container.
Multiple items can be added like so: myContainer.addChild(thingOne, thingTwo, thingThree)
Name | Type |
---|---|
TChildren |
extends DisplayObject [] |
Name | Type | Description |
---|---|---|
...children |
TChildren |
The DisplayObject(s) to add to the container |
TChildren
[0
]
The first child that was added.
NineSlicePlane.addChild
node_modules/pixi.js/pixi.js.d.ts:14693
▸ addChildAt<T
>(child
, index
): T
Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown
Name | Type |
---|---|
T |
extends DisplayObject |
Name | Type | Description |
---|---|---|
child |
T |
The child to add |
index |
number |
The index to place the child in |
T
The child that was added.
NineSlicePlane.addChildAt
node_modules/pixi.js/pixi.js.d.ts:14701
▸ addListener(event
, fn
, context?
): this
Name | Type |
---|---|
event |
InteractionEventTypes |
fn |
(event : InteractionEvent ) => void |
context? |
any |
this
NineSlicePlane.addListener
node_modules/pixi.js/pixi.js.d.ts:25521
▸ addListener(event
, fn
, context?
): this
Name | Type |
---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
NineSlicePlane.addListener
node_modules/pixi.js/pixi.js.d.ts:25523
▸ calculateBounds(): void
Recalculates the bounds of the container.
void
NineSlicePlane.calculateBounds
node_modules/pixi.js/pixi.js.d.ts:14764
▸ calculateUvs(): void
Updates uv field based on from geometry uv’s or batchUvs
void
NineSlicePlane.calculateUvs
node_modules/pixi.js/pixi.js.d.ts:14623
▸ calculateVertices(): void
Updates vertexData field based on transform and vertices
void
NineSlicePlane.calculateVertices
node_modules/pixi.js/pixi.js.d.ts:14619
▸ containerUpdateTransform(): void
Container default updateTransform, does update children of container. Will crash if there’s no parent element.
void
Memberof
PIXI.Container#
Function
containerUpdateTransform
NineSlicePlane.containerUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:14794
▸ containsPoint(point
): boolean
Tests if a point is inside this mesh. Works only for PIXI.DRAW_MODES.TRIANGLES.
Name | Type | Description |
---|---|---|
point |
IPointData |
the point to test |
boolean
the result of the test
NineSlicePlane.containsPoint
node_modules/pixi.js/pixi.js.d.ts:14637
▸ destroy(options?
): void
Destroys the Mesh object.
Name | Type | Description |
---|---|---|
options? |
Object |
Options parameter. A boolean will act as if all options have been set to that value |
options.children? |
boolean |
if set to true, all the children will have their destroy method called as well. ‘options’ will be passed on to those calls. |
void
NineSlicePlane.destroy
node_modules/pixi.js/pixi.js.d.ts:14646
▸ disableTempParent(cacheParent
): void
Pair method for enableTempParent
Name | Type | Description |
---|---|---|
cacheParent |
DisplayObject |
actual parent of element |
void
NineSlicePlane.disableTempParent
node_modules/pixi.js/pixi.js.d.ts:15096
▸ displayObjectUpdateTransform(): void
DisplayObject default updateTransform, does not update children of container. Will crash if there’s no parent element.
void
Memberof
PIXI.DisplayObject#
Function
displayObjectUpdateTransform
DShadow.displayObjectUpdateTransform
NineSlicePlane.displayObjectUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:15210
▸ 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
.
NineSlicePlane.emit
node_modules/pixi.js/pixi.js.d.ts:25441
▸ enableTempParent(): DisplayObject
Used in Renderer, cacheAsBitmap and other places where you call an updateTransform
on root
const cacheParent = elem.enableTempParent();
elem.updateTransform();
elem.disableTempParent(cacheParent);
DisplayObject
current parent
NineSlicePlane.enableTempParent
node_modules/pixi.js/pixi.js.d.ts:15091
▸ eventNames(): (string
| symbol
)[]
Return an array listing the events for which the emitter has registered listeners.
(string
| symbol
)[]
NineSlicePlane.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ getBounds(skipUpdate?
, rect?
): Rectangle
Retrieves the bounds of the displayObject as a rectangle object.
Name | Type | Description |
---|---|---|
skipUpdate? |
boolean |
Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost. |
rect? |
Rectangle |
Optional rectangle to store the result of the bounds calculation. |
Rectangle
The rectangular bounding area.
NineSlicePlane.getBounds
node_modules/pixi.js/pixi.js.d.ts:15031
▸ getChildAt(index
): DisplayObject
Returns the child at the specified index
Name | Type | Description |
---|---|---|
index |
number |
The index to get the child at |
DisplayObject
The child at the given index, if any.
NineSlicePlane.getChildAt
node_modules/pixi.js/pixi.js.d.ts:14729
▸ getChildByName(name
, deep?
): DisplayObject
Returns the display object in the container.
Recursive searches are done in a preorder traversal.
Name | Type | Description |
---|---|---|
name |
string |
Instance name. |
deep? |
boolean |
Whether to search recursively |
DisplayObject
The child with the specified name.
Method
getChildByName
Memberof
PIXI.Container#
NineSlicePlane.getChildByName
node_modules/pixi.js/pixi.js.d.ts:14814
▸ getChildIndex(child
): number
Returns the index position of a child DisplayObject instance
Name | Type | Description |
---|---|---|
child |
DisplayObject |
The DisplayObject instance to identify |
number
The index position of the child display object to identify
NineSlicePlane.getChildIndex
node_modules/pixi.js/pixi.js.d.ts:14715
▸ getGlobalPosition(point?
, skipUpdate?
): Point
Returns the global position of the displayObject. Does not depend on object scale, rotation and pivot.
Name | Type | Description |
---|---|---|
point? |
Point |
The point to write the global value to. |
skipUpdate? |
boolean |
Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost. |
Point
The updated point.
Method
getGlobalPosition
Memberof
PIXI.DisplayObject#
NineSlicePlane.getGlobalPosition
node_modules/pixi.js/pixi.js.d.ts:15294
▸ getLocalBounds(rect?
, skipChildrenUpdate?
): Rectangle
Retrieves the local bounds of the displayObject as a rectangle object.
Name | Type | Description |
---|---|---|
rect? |
Rectangle |
Optional rectangle to store the result of the bounds calculation. |
skipChildrenUpdate? |
boolean |
Setting to true will stop re-calculation of children transforms, it was default behaviour of pixi 4.0-5.2 and caused many problems to users. |
Rectangle
The rectangular bounding area.
NineSlicePlane.getLocalBounds
node_modules/pixi.js/pixi.js.d.ts:14773
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Name | Type | Description |
---|---|---|
event |
string | symbol |
The event name. |
number
NineSlicePlane.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
[]
NineSlicePlane.listeners
node_modules/pixi.js/pixi.js.d.ts:25424
▸ off(event
, fn?
, context?
): this
Name | Type |
---|---|
event |
string |
fn? |
Function |
context? |
any |
this
NineSlicePlane.off
node_modules/pixi.js/pixi.js.d.ts:25534
▸ on(event
, fn
, context?
): this
Name | Type |
---|---|
event |
"removed" | "added" |
fn |
(displayObject : DisplayObject ) => void |
context? |
any |
this
NineSlicePlane.on
node_modules/pixi.js/pixi.js.d.ts:25530
▸ on(event
, fn
, context?
): this
Name | Type |
---|---|
event |
string |
fn |
Function |
context? |
any |
this
NineSlicePlane.on
node_modules/pixi.js/pixi.js.d.ts:25532
▸ onChildrenChange(): void
Overridable method that can be used by Container subclasses whenever the children array is modified
void
NineSlicePlane.onChildrenChange
node_modules/pixi.js/pixi.js.d.ts:14684
▸ onReflow(base
, width
, height
): void
Name | Type |
---|---|
base |
DBase <DThemeBase , DBaseOptions <DThemeBase , any >> |
width |
number |
height |
number |
void
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:36
▸ onTextureUpdate(): void
void
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:32
▸ once(event
, fn
, context?
): this
Name | Type |
---|---|
event |
"removed" | "added" |
fn |
(displayObject : DisplayObject ) => void |
context? |
any |
this
NineSlicePlane.once
node_modules/pixi.js/pixi.js.d.ts:25527
▸ once(event
, fn
, context?
): this
Name | Type |
---|---|
event |
string |
fn |
Function |
context? |
any |
this
NineSlicePlane.once
node_modules/pixi.js/pixi.js.d.ts:25529
▸ removeAllListeners(event?
): this
Name | Type |
---|---|
event? |
InteractionEventTypes |
this
NineSlicePlane.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25516
▸ removeAllListeners(event?
): this
Name | Type |
---|---|
event? |
string | symbol |
this
NineSlicePlane.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25517
▸ removeChild<TChildren
>(...children
): TChildren
[0
]
Removes one or more children from the container.
Name | Type |
---|---|
TChildren |
extends DisplayObject [] |
Name | Type | Description |
---|---|---|
...children |
TChildren |
The DisplayObject(s) to remove |
TChildren
[0
]
The first child that was removed.
NineSlicePlane.removeChild
node_modules/pixi.js/pixi.js.d.ts:14736
▸ removeChildAt(index
): DisplayObject
Removes a child from the specified index position.
Name | Type | Description |
---|---|---|
index |
number |
The index to get the child from |
DisplayObject
The child that was removed.
NineSlicePlane.removeChildAt
node_modules/pixi.js/pixi.js.d.ts:14743
▸ removeChildren(beginIndex?
, endIndex?
): DisplayObject
[]
Removes all children from this container that are within the begin and end indexes.
Name | Type | Description |
---|---|---|
beginIndex? |
number |
The beginning position. |
endIndex? |
number |
The ending position. Default value is size of the container. |
DisplayObject
[]
List of removed children
NineSlicePlane.removeChildren
node_modules/pixi.js/pixi.js.d.ts:14751
▸ removeListener(event
, fn?
, context?
): this
Name | Type |
---|---|
event |
InteractionEventTypes |
fn? |
(event : InteractionEvent ) => void |
context? |
any |
this
NineSlicePlane.removeListener
node_modules/pixi.js/pixi.js.d.ts:25513
▸ removeListener(event
, fn?
, context?
): this
Name | Type |
---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
this
NineSlicePlane.removeListener
node_modules/pixi.js/pixi.js.d.ts:25515
▸ render(renderer
): void
Name | Type |
---|---|
renderer |
Renderer |
void
NineSlicePlane.render
src/main/typescript/wcardinal/ui/d-shadow-impl.ts:45
▸ renderAdvanced(renderer
): void
Render the object using the WebGL renderer and advanced features.
Name | Type | Description |
---|---|---|
renderer |
Renderer |
The renderer |
void
NineSlicePlane.renderAdvanced
node_modules/pixi.js/pixi.js.d.ts:14786
▸ setChildIndex(child
, index
): void
Changes the position of an existing child in the display object container
Name | Type | Description |
---|---|---|
child |
DisplayObject |
The child DisplayObject instance for which you want to change the index number |
index |
number |
The resulting index number for the child display object |
void
NineSlicePlane.setChildIndex
node_modules/pixi.js/pixi.js.d.ts:14722
▸ setParent(container
): Container
Set the parent Container of this DisplayObject.
Name | Type | Description |
---|---|---|
container |
Container |
The Container to add this DisplayObject to. |
Container
The Container that this DisplayObject was added to.
NineSlicePlane.setParent
node_modules/pixi.js/pixi.js.d.ts:15059
▸ setTransform(x?
, y?
, scaleX?
, scaleY?
, rotation?
, skewX?
, skewY?
, pivotX?
, pivotY?
): DisplayObject
Convenience function to set the position, scale, skew and pivot at once.
Name | Type | Description |
---|---|---|
x? |
number |
The X position |
y? |
number |
The Y position |
scaleX? |
number |
The X scale value |
scaleY? |
number |
The Y scale value |
rotation? |
number |
The rotation |
skewX? |
number |
The X skew value |
skewY? |
number |
The Y skew value |
pivotX? |
number |
The X pivot value |
pivotY? |
number |
The Y pivot value |
DisplayObject
The DisplayObject instance
NineSlicePlane.setTransform
node_modules/pixi.js/pixi.js.d.ts:15074
▸ sortChildren(): void
Sorts children by zIndex. Previous order is mantained for 2 children with the same zIndex.
void
NineSlicePlane.sortChildren
node_modules/pixi.js/pixi.js.d.ts:14755
▸ swapChildren(child
, child2
): void
Swaps the position of 2 Display Objects within this container.
Name | Type | Description |
---|---|---|
child |
DisplayObject |
First display object to swap |
child2 |
DisplayObject |
Second display object to swap |
void
NineSlicePlane.swapChildren
node_modules/pixi.js/pixi.js.d.ts:14708
▸ textureUpdated(): void
Method used for overrides, to do something in case texture frame was changed. Meshes based on plane can override it and change more details based on texture.
void
NineSlicePlane.textureUpdated
node_modules/pixi.js/pixi.js.d.ts:14507
▸ toGlobal(position
, point?
, skipUpdate?
): Point
Calculates the global position of the display object.
Name | Type | Description |
---|---|---|
position |
IPointData |
The world origin to calculate from. |
point? |
Point |
A Point object in which to store the value, optional (otherwise will create a new Point). |
skipUpdate? |
boolean |
Should we skip the update transform. |
Point
A point object representing the position of this object.
NineSlicePlane.toGlobal
node_modules/pixi.js/pixi.js.d.ts:15041
▸ toLocal(position
, from?
, point?
, skipUpdate?
): Point
Calculates the local position of the display object relative to another point.
Name | Type | Description |
---|---|---|
position |
IPointData |
The world origin to calculate from. |
from? |
DisplayObject |
The DisplayObject to calculate the global position from. |
point? |
Point |
A Point object in which to store the value, optional (otherwise will create a new Point). |
skipUpdate? |
boolean |
Should we skip the update transform |
Point
A point object representing the position of this object
NineSlicePlane.toLocal
node_modules/pixi.js/pixi.js.d.ts:15052
▸ updateHorizontalVertices(): void
Updates the horizontal vertices.
void
NineSlicePlane.updateHorizontalVertices
node_modules/pixi.js/pixi.js.d.ts:14457
▸ updateTransform(): void
Updates the transform on all children of this container for rendering
void
NineSlicePlane.updateTransform
node_modules/pixi.js/pixi.js.d.ts:14759
▸ updateVerticalVertices(): void
Updates the vertical vertices.
void
NineSlicePlane.updateVerticalVertices
node_modules/pixi.js/pixi.js.d.ts:14462
▸ mixin(source
): void
Mixes all enumerable properties and methods from a source object to DisplayObject.
Name | Type | Description |
---|---|---|
source |
any |
The source of properties and methods to mix in. |
void
NineSlicePlane.mixin
node_modules/pixi.js/pixi.js.d.ts:9230