←Select platform

DrawArc Method

Summary
Draws the arc portion of the protractor object.
Syntax
C#
Objective-C
C++/CLI
Java
- (void)drawArcMapper:(LTAnnContainerMapper *)mapper 
               center:(LeadPointD)center 
           startAngle:(double)startAngle 
           sweepAngle:(double)sweepAngle 
            arcRadius:(LeadLengthD)arcRadius 
               stroke:(LTAnnStroke *)stroke 
           operations:(LTAnnFixedStateOperations)operations 
protected void drawArc(AnnContainerMapper mapper,  
                       LeadPointD center,  
                       double startAngle,  
                       double sweepAngle,  
                       LeadLengthD radius,  
                       AnnStroke stroke,  
                       int annFixedStateOperations) 

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 22.0.2022.12.13
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.