%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
AddEllipse Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : AddEllipse Method
center
The ellipse's center.
MajLen
The ellipse's major length in drawin units.
MinLen
The ellipse's minor length in drawin units.
MajAngle
The ellipse's rotation angle.
SAngle
The angle at which the ellipse start drawing its periphery.
EAngle
The angle at which the ellipse stops drawing its periphery
drawit
Defines if the vdEllipse object will be drawn.
entities
The entities collection where the ellipse will be added. This can be the entities of layout or a block.
Adds a new vdEllipse object in the document.

Syntax

JScript 
public function AddEllipse( 
   center : Object,
   MajLen : double,
   MinLen : double,
   MajAngle : double,
   SAngle : double,
   EAngle : double,
   drawit : boolean,
   entities : Object
) : Object;

Parameters

center
The ellipse's center.
MajLen
The ellipse's major length in drawin units.
MinLen
The ellipse's minor length in drawin units.
MajAngle
The ellipse's rotation angle.
SAngle
The angle at which the ellipse start drawing its periphery.
EAngle
The angle at which the ellipse stops drawing its periphery
drawit
Defines if the vdEllipse object will be drawn.
entities
The entities collection where the ellipse will be added. This can be the entities of layout or a block.

Return Value

The vdEllipse object created.

Remarks

You can create new points by using the newpoint method. Attention, the source .vds file is not modified.

See Also