Table of Contents

Method AddArc

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddArc(object, double, double, bool, object)

Adds a new vdArc in the document.

public object AddArc(object center, double startAngle, double endAngle, bool drawit, object entities)

Parameters

center object

The arc's center.

startAngle double

The angle where the arc will start drawing it's periphery.

endAngle double

The angle where the arc will stop drawing it's periphery.

drawit bool

Defines if the vdArc object will be drawn.

entities object

The entities collection where the arc will be added. This can be the entities of layout or a block.

Returns

object

The vdArc object created.

Remarks

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