%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
AddArc Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : AddArc Method
center
The arc's center.
startAngle
The angle where the arc will start drawing it's periphery.
endAngle
The angle where the arc will stop drawing it's periphery.
drawit
Defines if the vdArc object will be drawn.
entities
The entities collection where the arc will be added. This can be the entities of layout or a block.
Adds a new vdArc in the document.

Syntax

JScript 
public function AddArc( 
   center : Object,
   startAngle : double,
   endAngle : double,
   drawit : boolean,
   entities : Object
) : Object;

Parameters

center
The arc's center.
startAngle
The angle where the arc will start drawing it's periphery.
endAngle
The angle where the arc will stop drawing it's periphery.
drawit
Defines if the vdArc object will be drawn.
entities
The entities collection where the arc will be added. This can be the entities of layout or a block.

Return Value

The vdArc object created.

Remarks

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

See Also