drawEllipse

From Bohemia Interactive Community
Revision as of 01:01, 2 December 2009 by Kronzky (talk | contribs) (add. classification)
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