RenderArc Constructor(Unit,Unit,Unit,Unit,Single,Single,LineDef,Brush)
In This Topic
Initializes a new instance of the
RenderArc class, assigning the location, size, and start and sweep angles of the arc, the
LineDef used to draw the arc, and the brush used to fill the segment formed by the arc and a line connecting its ends.
Syntax
'Declaration
Public Function New( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Single, _
ByVal As Single, _
ByVal As LineDef, _
ByVal As Brush _
)
public RenderArc(
Unit ,
Unit ,
Unit ,
Unit ,
float ,
float ,
LineDef ,
Brush
)
Parameters
- x
- The X coordinate of the ellipse containing the arc.
- y
- The Y coordinate of the ellipse containing the arc.
- width
- The width of the ellipse containing the arc.
- height
- The height of the ellipse containing the arc.
- startAngle
- The angle, in degrees, clockwise from the X axis to the start of the arc.
- sweepAngle
- The angle, measured in degrees, clockwise from to the end of the arc.
- shapeLine
- The LineDef used to draw the arc.
- shapeFillBrush
- The fill brush.
See Also