ComponentFactory.Krypton.Toolkit.KryptonSparkleRenderer.CreateClipBorderPath C# (CSharp) Method

CreateClipBorderPath() private static method

private static CreateClipBorderPath ( Rectangle rect, Rectangle exclude, float cut ) : GraphicsPath
rect System.Drawing.Rectangle
exclude System.Drawing.Rectangle
cut float
return System.Drawing.Drawing2D.GraphicsPath
        private static GraphicsPath CreateClipBorderPath(Rectangle rect,
                                                         Rectangle exclude,
                                                         float cut)
        {
            // Clipping happens inside the rect, so make 1 wider and taller
            rect.Width++;
            rect.Height++;

            // Now create a path based on this inner rectangle
            return CreateBorderPath(rect, exclude, cut);
        }

Same methods

KryptonSparkleRenderer::CreateClipBorderPath ( Rectangle rect, float cut ) : GraphicsPath