drawEllipse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (added cmdGroup EditorControl, removed cmdGroup GUI Control)
Line 38: Line 38:
[[Category:Scripting Commands|DRAWELLIPSE]]
[[Category:Scripting Commands|DRAWELLIPSE]]
[[Category:Scripting Commands ArmA|DRAWELLIPSE]]
[[Category:Scripting Commands ArmA|DRAWELLIPSE]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 13:31, 2 November 2010

-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