System.Drawing.PieChart.PieSlice.Readjust C# (CSharp) Method

Readjust() private method

Reajusts the pie slice to fit new bounding rectangle provided.
private Readjust ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight ) : void
xBoundingRect float /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. ///
yBoundingRect float /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the pie slice. ///
widthBoundingRect float /// Width of the rectangle that is used to draw the top surface of /// the pie slice. ///
heightBoundingRect float /// Height of the rectangle that is used to draw the top surface of /// the pie slice. ///
sliceHeight float /// Height of the pie slice. ///
return void
        internal void Readjust(float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, float sliceHeight)
        {
            InitializePieSlice(xBoundingRect, yBoundingRect, widthBoundingRect, heightBoundingRect, sliceHeight);
        }