drawEllipse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
No edit summary
Line 17: Line 17:


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
 
|x1=<code>(findDisplay 137 displayCtrl 51) drawEllipse [getpos player, 50, 50, 0, [1,1,0,1], ""]</code>


| [[drawArrow]], [[drawIcon]], [[drawLine]], [[drawRectangle]] |= See also
| [[drawArrow]], [[drawIcon]], [[drawLine]], [[drawRectangle]] |= See also
Line 26: Line 28:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
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.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 14:14, 12 September 2009

-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