%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
AddCircle Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : AddCircle Method
center
The circles center.
radius
The circles radius in drawing units.
drawit
Defines if the vdCircle object will be drawn.
entities
The entities collection where the circle will be added. This can be the entities of layout or a block.
Adds a new vdCircle object in the document.

Syntax

JScript 
public function AddCircle( 
   center : Object,
   radius : double,
   drawit : boolean,
   entities : Object
) : Object;

Parameters

center
The circles center.
radius
The circles radius in drawing units.
drawit
Defines if the vdCircle object will be drawn.
entities
The entities collection where the circle will be added. This can be the entities of layout or a block.

Return Value

The vdCircle object created.

Remarks

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

See Also