Home

function: drawText


drawText(helper: PIXI.WebGLRenderer, PIXI.CanvasPrepare, item: PIXI.DisplayObject): boolean

Built-in hook to draw PIXI.Text to its texture.

Params:

Name Type Attribute Description
helper

Not used by this upload handler

item

Item to check

Returns:

boolean

  {
    "comment": "/**\n * Built-in hook to draw PIXI.Text to its texture.\n *\n * @private\n * @param {PIXI.WebGLRenderer|PIXI.CanvasPrepare} helper - Not used by this upload handler\n * @param {PIXI.DisplayObject} item - Item to check\n * @return {boolean} If item was uploaded.\n */",
    "meta": {
        "range": [
            10793,
            11009
        ],
        "filename": "BasePrepare.js",
        "lineno": 414,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\prepare",
        "code": {
            "id": "astnode100074011",
            "name": "drawText",
            "type": "FunctionDeclaration",
            "paramnames": [
                "helper",
                "item"
            ]
        }
    },
    "description": "

Built-in hook to draw PIXI.Text to its texture.

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

Not used by this upload handler

", "name": "helper" }, { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "

Item to check

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

If item was uploaded.

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