RenderPie Constructor(Unit,Unit,Single,Single,LineDef,Brush)
 
            
                In This Topic
            
            Initializes a new instance of the 
RenderPie class, assigning the width, height, start and sweep angles of the pie shape, the 
LineDef used to draw the shape, and the fill brush. The location of the shape is set to the location of the current 
RenderPie.
 
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Function New( _
   ByVal  As Unit, _
   ByVal  As Unit, _
   ByVal  As Single, _
   ByVal  As Single, _
   ByVal  As LineDef, _
   ByVal  As Brush _
)
             
        
            
            public RenderPie( 
   Unit ,
   Unit ,
   float ,
   float ,
   LineDef ,
   Brush 
)
             
        
             
        
            Parameters
- width
 
- The width of the ellipse containing the pie shape.
 - height
 
- The height of the ellipse containing the pie shape.
 - startAngle
 
- The angle, in degrees, clockwise from the X axis to the start of the pie's arc.
 - sweepAngle
 
- The angle, measured in degrees, clockwise from  to the end of the pie's arc.
 - shapeLine
 
- The LineDef used to draw the pie shape.
 - shapeFillBrush
 
- The shape fill brush.
 
             
            
            
            
            
            
            
            
            
            
            
            
            See Also