{"name":"BIN_fnc_handDrawEllipse","title":"BIN fnc handDrawEllipse","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_handDrawEllipse","revid":309651,"updated":"2022-05-05T12:07:59Z","groups":["Diary"],"status":"ok","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","description":"Show hand-drawn ellipse in the map\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14] call BIN_fnc_handDrawEllipse","params":[{"name":"param0","type":"String","type_expr":"String","description":"Unique ID of the ellipse. When such ellipse already exists, it will override it.","text":"0: STRING - Unique ID of the ellipse. When such ellipse already exists, it will override it.","source":"docblock"},{"name":"param1","type":"Array","type_expr":"Array","description":"center position","text":"1: ARRAY - center position","source":"docblock"},{"name":"param2","type":"Number","type_expr":"Number","description":"semi-major axis","text":"2: NUMBER - semi-major axis","source":"docblock"},{"name":"param3","type":"Number","type_expr":"Number","description":"semi-minor axis","text":"3: NUMBER - semi-minor axis","source":"docblock"},{"name":"param4","type":"Number","type_expr":"Number","description":"angle","text":"4: NUMBER - angle","source":"docblock"},{"name":"param5","type":"Array","type_expr":"Array","description":"color in [r,g,b,a] format","text":"5: ARRAY - color in [r,g,b,a] format","source":"docblock"},{"name":"param6","type":"String","type_expr":"String","optional":true,"default":"pen-blue color, false for the same, but faded","description":"fill texture\n   BOOL - true for default pen-blue color, false for the same, but faded\n\nOptional:","text":"6: STRING - fill texture\n   BOOL - true for default pen-blue color, false for the same, but faded\n\nOptional:","source":"docblock"},{"name":"param7","type":"Number","type_expr":"Number","description":"radius coef","text":"7: NUMBER - radius coef","source":"docblock"},{"name":"param8","type":"Number","type_expr":"Number","description":"length coef","text":"8: NUMBER - length coef","source":"docblock"},{"name":"param9","type":"Number, Array","type_expr":"Number | Array","text":"9: NUMBER or ARRAY: thickness","source":"docblock"},{"name":"param10","type":"Array","type_expr":"Array","description":"radius curve","text":"10: ARRAY - radius curve","source":"docblock"},{"name":"param11","type":"Boolean","type_expr":"Boolean","description":"true if clockwise","text":"11: BOOL - true if clockwise","source":"docblock"},{"name":"param12","type":"Number","type_expr":"Number","description":"starting angle","text":"12: NUMBER - starting angle","source":"docblock"},{"name":"param13","type":"Array","type_expr":"Array","description":"random thickness offset in format [min,mid,max]","text":"13: ARRAY - random thickness offset in format [min,mid,max]","source":"docblock"},{"name":"param14","type":"Number","type_expr":"Number","description":"number od drawing steps","text":"14: NUMBER - number od drawing steps","source":"docblock"}],"returns":{"type":"Nothing","type_expr":"Nothing","text":"NOTHING","source":"docblock"},"inferred":true}],"examples":[{"code":["//--- Show an ellipse on player's position\n[\"test1\",position player,300,400,15] call BIN_fnc_handDrawEllipse;"]},{"code":["//--- Show the same ellipse, but faded\n[\"test1\",position player,300,400,15,nil,false] call BIN_fnc_handDrawEllipse;"]}],"docblock":{"text":"Description:\n    Show hand-drawn ellipse in the map\n\nParameter(s):\n    0: STRING - Unique ID of the ellipse. When such ellipse already exists, it will override it.\n    1: ARRAY - center position\n    2: NUMBER - semi-major axis\n    3: NUMBER - semi-minor axis\n    4: NUMBER - angle\n    5: ARRAY - color in [r,g,b,a] format\n    6: STRING - fill texture\n       BOOL - true for default pen-blue color, false for the same, but faded\n\n    Optional:\n    7: NUMBER - radius coef\n    8: NUMBER - length coef\n    9: NUMBER or ARRAY: thickness\n    10: ARRAY - radius curve\n    11: BOOL - true if clockwise\n    12: NUMBER - starting angle\n    13: ARRAY - random thickness offset in format [min,mid,max]\n    14: NUMBER - number od drawing steps\n\nReturns:\n    NOTHING\n\nExamples:\n    //--- Show an ellipse on player's position\n    [\"test1\",position player,300,400,15] call BIN_fnc_handDrawEllipse;\n\n    //--- Show the same ellipse, but faded\n    [\"test1\",position player,300,400,15,nil,false] call BIN_fnc_handDrawEllipse;"},"filled_from_docblock":["params","syntax","returns","examples","description"]}