---
name: "BIN_fnc_handDrawBezier"
type: function
status: ok
groups: ["Diary"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_handDrawBezier
revid: 309531
updated: 2022-05-05T12:06:51Z
---

# BIN_fnc_handDrawBezier

*Function · Diary · Arma 3 v1.94*

## Description

Show hand-drawn bezier curve in the map

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1, param2, param3, param4, param5, param6] call BIN_fnc_handDrawBezier
```

**Parameters:**

- `param0` — 0: STRING - Unique ID of the ellipse. When such ellipse already exists, it will override it.
- `param1` — 1: ARRAY - control points of bezier curve
- `param2` — 2: ARRAY - color in [r,g,b,a] format
- `param3` — 3: STRING - fill texture
     BOOL - true for default pen-blue color, false for the same, but faded

  Optional:
- `param4` — 4: NUMBER or ARRAY: thickness
- `param5` — 5: ARRAY - random thickness offset in format [min,mid,max]
- `param6` — 6: NUMBER - number od drawing steps

**Returns:** NOTHING

## Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, description come from it.

```sqf
/*
Description:
    Show hand-drawn bezier curve in the map

Parameter(s):
    0: STRING - Unique ID of the ellipse. When such ellipse already exists, it will override it.
    1: ARRAY - control points of bezier curve
    2: ARRAY - color in [r,g,b,a] format
    3: STRING - fill texture
       BOOL - true for default pen-blue color, false for the same, but faded

    Optional:
    4: NUMBER or ARRAY: thickness
    5: ARRAY - random thickness offset in format [min,mid,max]
    6: NUMBER - number od drawing steps

Returns:
    NOTHING
*/
```

<sub>Source: [BI Community Wiki — BIN fnc handDrawBezier](https://community.bistudio.com/wiki/BIN_fnc_handDrawBezier) (revision 309531).</sub>
