Home

function: findText


findText(item: PIXI.DisplayObject, queue: Array.<*>): boolean

Built-in hook to find Text objects.

Params:

Name Type Attribute Description
item

Display object to check

queue

Collection of items to upload

Returns:

boolean

  {
    "comment": "/**\n * Built-in hook to find Text objects.\n *\n * @private\n * @param {PIXI.DisplayObject} item - Display object to check\n * @param {Array<*>} queue - Collection of items to upload\n * @return {boolean} if a PIXI.Text object was found.\n */",
    "meta": {
        "range": [
            11839,
            12527
        ],
        "filename": "BasePrepare.js",
        "lineno": 460,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare",
        "code": {
            "id": "astnode100074077",
            "name": "findText",
            "type": "FunctionDeclaration",
            "paramnames": [
                "item",
                "queue"
            ]
        },
        "vars": {
            "texture": "findText~texture"
        }
    },
    "description": "

Built-in hook to find Text objects.

", "access": "private", "params": [ { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "

Display object to check

", "name": "item" }, { "type": { "names": [ "Array.<*>" ] }, "description": "

Collection of items to upload

", "name": "queue" } ], "returns": [ { "type": { "names": [ "boolean" ] }, "description": "

if a PIXI.Text object was found.

" } ], "name": "findText", "longname": "findText", "kind": "function", "scope": "global", "___id": "T000002R006888", "___s": true, "filepath": "prepare\\BasePrepare.js" }