Skip to content

$lineJoin

Sets the shape used to join two line segments where they meet.

Usage

$lineJoin[canvas;shape?]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas.True
shape”round” | “bevel” | “miter” | 0 | 1 | 2The new shape.False

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$lineJoin",
"description": "Sets the shape used to join two line segments where they meet.",
"params": [
{
"name": "canvas",
"description": "Name of the canvas.",
"type": "String",
"required": true
},
{
"name": "shape",
"description": "The new shape.",
"type": "\"round\" | \"bevel\" | \"miter\" | 0 | 1 | 2",
"required": false,
"enum": {
"0": "round",
"1": "bevel",
"2": "miter",
"round": 0,
"bevel": 1,
"miter": 2
}
}
],
"usage": "$lineJoin[canvas;shape?]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/lineJoin.ts",
"docs": "https://aoicanvas.vercel.app/functions/linejoin"
}