drawArc Method

Summary

Draws the arc portion of the protractor object.

Syntax

JavaScript Syntax
AnnSvgProtractorObjectRenderer.prototype.drawArc = function(mapper, center, startAngle, sweepAngle, radius, stroke, operations) 
TypeScript Syntax
drawArc(mapper: AnnContainerMapper, center: LeadPointD, startAngle: number, sweepAngle: number, radius: LeadLengthD, stroke: AnnStroke, operations: AnnFixedStateOperations): void; // protected 

Parameters

mapper

The mapper to use for rendering.

center

The arc center.

startAngle

The start angle of the arc in degrees.

sweepAngle

The sweep angle of the arc in degrees.

radius

The radius of the arc.

stroke

The stroke to use when drawing the arc.

operations

The 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly