drawEllipse

From Bohemia Interactive Community
Revision as of 22:28, 7 July 2015 by Waffle SS. (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Draw an ellipse on the map.
Groups:
Uncategorised

Syntax

Syntax:
map drawEllipse [center, a, b, angle, color, fill]
Parameters:
map: Control
[center, a, b, angle, color, fill]: Array
Return Value:
Nothing

Examples

Example 1:
(findDisplay 137 displayCtrl 51) drawEllipse [getpos player, 50, 50, 0, [1,1,0,1], ""]

Additional Information

See also:
drawArrowdrawIcondrawLinedrawRectangle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Fill can be empty string or path to texture with which to fill the ellipse. Function must be called every time the map control is re-drawn, therefore it should be initiated by drawMap[] event of an editor object to be visible.

Bottom Section

Posted on July 7, 2015 - 21:28 (UTC)
Waffle SS.
Be careful when using this command. Unlike map markers, the draw commands can decrease your framerate.