←Select platform

DrawArc Method

Summary

Draws the arc portion of the protractor object.

Syntax

C#
VB
Java
Objective-C
C++
Protected Overloads Overridable Sub DrawArc( _ 
   ByVal mapper As Leadtools.Annotations.Core.AnnContainerMapper, _ 
   ByVal center As Leadtools.LeadPointD, _ 
   ByVal startAngle As Double, _ 
   ByVal sweepAngle As Double, _ 
   ByVal radius As Leadtools.LeadLengthD, _ 
   ByVal stroke As Leadtools.Annotations.Core.AnnStroke, _ 
   ByVal operations As Leadtools.Annotations.Core.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly