Initializes a new instance of the
RenderPie class, assigning the width, height, and start and sweep angles of the pie shape. The location of the shape is set to the location of the current
RenderPie.
シンタックス
'宣言
Public Function New( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As System.Single, _
ByVal As System.Single _
)
'使用法
Dim width As Unit
Dim height As Unit
Dim startAngle As System.Single
Dim sweepAngle As System.Single
Dim instance As New RenderPie(width, height, startAngle, sweepAngle)
public RenderPie(
Unit ,
Unit ,
System.float ,
System.float
)
パラメータ
- 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.
参照