Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Draw an ellipse on the map. See drawLine for usage explanation and example.

Syntax

Syntax:map drawEllipse [center, a, b, angle, color, fill]
Parameters:
  • map: Control - Map to draw and ellipse on.
  • center: Position-2 - Center of ellipse.
  • a: Number - X-radius of ellipse.
  • b: Number - Y-radius of ellipse.
  • angle: Number - Angle at which to tile the ellipse.
  • color: Color - Line color.
  • fill: String - Either empty ("") to show only the outline, or texture name.
Return Value:Nothing

Examples

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

Additional Information

See also: drawArrow, drawIcon, drawLine, drawRectangle
Multiplayer: 
Problems: 

Notes