Builds a line to draw using the poligon method.
Ignored from docs since it is not directly exposed.
| Name | Type | Attribute | Description |
|---|---|---|---|
| graphicsData | The graphics object containing all the necessary properties |
||
| webGLData | an object containing all the webGL-specific information to create this shape |
void
{
"comment": "/**\n * Builds a line to draw using the poligon method.\n *\n * Ignored from docs since it is not directly exposed.\n *\n * @ignore\n * @private\n * @param {PIXI.WebGLGraphicsData} graphicsData - The graphics object containing all the necessary properties\n * @param {object} webGLData - an object containing all the webGL-specific information to create this shape\n */",
"meta": {
"range": [
994,
6526
],
"filename": "buildLine.js",
"lineno": 36,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\graphics\\webgl\\utils",
"code": {
"id": "astnode100013840",
"name": "buildLine",
"type": "FunctionDeclaration",
"paramnames": [
"graphicsData",
"webGLData"
]
},
"vars": {
"points": "buildLine~points",
"firstPoint": "buildLine~firstPoint",
"lastPoint": "buildLine~lastPoint",
"midPointX": "buildLine~midPointX",
"midPointY": "buildLine~midPointY",
"verts": "buildLine~verts",
"indices": "buildLine~indices",
"length": "buildLine~length",
"indexCount": "buildLine~indexCount",
"indexStart": "buildLine~indexStart",
"width": "buildLine~width",
"color": "buildLine~color",
"alpha": "buildLine~alpha",
"r": "buildLine~r",
"g": "buildLine~g",
"b": "buildLine~b",
"p1x": "buildLine~p1x",
"p1y": "buildLine~p1y",
"p2x": "buildLine~p2x",
"p2y": "buildLine~p2y",
"p3x": "buildLine~p3x",
"p3y": "buildLine~p3y",
"perpx": "buildLine~perpx",
"perpy": "buildLine~perpy",
"perp2x": "buildLine~perp2x",
"perp2y": "buildLine~perp2y",
"perp3x": "buildLine~perp3x",
"perp3y": "buildLine~perp3y",
"dist": "buildLine~dist",
"i": "buildLine~i",
"a1": "buildLine~a1",
"b1": "buildLine~b1",
"c1": "buildLine~c1",
"a2": "buildLine~a2",
"b2": "buildLine~b2",
"c2": "buildLine~c2",
"denom": "buildLine~denom",
"px": "buildLine~px",
"py": "buildLine~py",
"pdist": "buildLine~pdist"
}
},
"description": "Builds a line to draw using the poligon method.
\nIgnored from docs since it is not directly exposed.
",
"ignore": true,
"access": "private",
"params": [
{
"type": {
"names": [
"PIXI.WebGLGraphicsData"
]
},
"description": "The graphics object containing all the necessary properties
",
"name": "graphicsData"
},
{
"type": {
"names": [
"object"
]
},
"description": "an object containing all the webGL-specific information to create this shape
",
"name": "webGLData"
}
],
"name": "buildLine",
"longname": "buildLine",
"kind": "function",
"scope": "global",
"___id": "T000002R001277",
"___s": true,
"filepath": "core\\graphics\\webgl\\utils\\buildLine.js"
}