drawEllipse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (readded Command Group: GUI Control)
m (VBS2 scripting category removal)
Line 39: Line 39:
[[Category:Scripting Commands ArmA|DRAWELLIPSE]]
[[Category:Scripting Commands ArmA|DRAWELLIPSE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 06:12, 19 July 2011

-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