←Select platform

DrawArc Method

Summary

Draws the arc portion of the protractor object.

Syntax
C#
VB
Objective-C
C++
Java
Protected Overloads Overridable Sub DrawArc( _ 
   ByVal mapper As AnnContainerMapper, _ 
   ByVal center As LeadPointD, _ 
   ByVal startAngle As Double, _ 
   ByVal sweepAngle As Double, _ 
   ByVal radius As LeadLengthD, _ 
   ByVal stroke As AnnStroke, _ 
   ByVal operations As AnnFixedStateOperations _ 
)  
- (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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly