System.Drawing.PieChart.PieChart3D.CreatePieSliceHighlighted C# (CSharp) Method

CreatePieSliceHighlighted() protected method

Creates highlighted PieSlice object.
protected CreatePieSliceHighlighted ( float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : PieSlice
boundingRectLeft float /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. ///
boundingRectTop float /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. ///
boundingRectWidth float /// Width of the rectangle that is used to draw the top surface of /// the slice. ///
boundingRectHeight float /// Height of the rectangle that is used to draw the top surface of /// the slice. ///
sliceHeight float /// Slice height. ///
startAngle float /// Starting angle. ///
sweepAngle float /// Sweep angle. ///
color Color /// Color used for slice rendering. ///
shadowStyle ShadowStyle /// Shadow style used for slice rendering. ///
edgeColorType EdgeColorType /// Edge lines color type. ///
edgeLineWidth float /// Edge lines width. ///
return PieSlice
        protected virtual PieSlice CreatePieSliceHighlighted(float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth)
        {
            Color highLightedColor = ColorUtil.CreateColorWithCorrectedLightness(color, ColorUtil.BrightnessEnhancementFactor1);
            return new PieSlice(boundingRectLeft, boundingRectTop, boundingRectWidth, boundingRectHeight, sliceHeight, (float)(startAngle % 360), sweepAngle, highLightedColor, shadowStyle, edgeColorType, edgeLineWidth);
        }