LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

DrawArc Method (AnnSvgProtractorObjectRenderer)

Show in webframe
The mapper to use for rendering.
The arc center.
The start angle of the arc in degrees.
The sweep angle of the arc in degrees.
The radius of the arc.
The stroke to use when drawing the arc.
The fixed state of the owner object.
Draws the arc portion of the protractor object.
Syntax
 function Leadtools.Annotations.Rendering.AnnSvgProtractorObjectRenderer.drawArc( 
   mapper ,
   center ,
   startAngle ,
   sweepAngle ,
   radius ,
   stroke ,
   operations 
)

Parameters

ParameterTypeDescription
mapperAnnContainerMapperThe mapper to use for rendering.
centerLeadPointDThe arc center.
startAngledoubleThe start angle of the arc in degrees.
sweepAngledoubleThe sweep angle of the arc in degrees.
radiusLeadLengthDThe radius of the arc.
strokeAnnStrokeThe stroke to use when drawing the arc.
operationsAnnFixedStateOperationsThe fixed state of the owner object.
Remarks

This method is called by the renderer to draw the arc portion of the protractor object. Derived classes can override this method to provide their own implementation.

See Also

Reference

AnnSvgProtractorObjectRenderer Object
AnnSvgProtractorObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.