ComponentFactory.Krypton.Toolkit.RenderStandard.CreatePositionPathsBottom C# (CSharp) Method

CreatePositionPathsBottom() private method

private CreatePositionPathsBottom ( Rectangle drawRect ) : GraphicsPath
drawRect System.Drawing.Rectangle
return System.Drawing.Drawing2D.GraphicsPath
        private GraphicsPath CreatePositionPathsBottom(Rectangle drawRect)
        {
            float half = (float)drawRect.Width / 2 - 0.5f;

            GraphicsPath path = new GraphicsPath();
            path.AddLines(new PointF[]{ new PointF(drawRect.X + half, drawRect.Y),
                                        new PointF(drawRect.Right - 1.0f, drawRect.Y +  + half),
                                        new PointF(drawRect.Right - 1.0f, drawRect.Bottom - 2.0f),
                                        new PointF(drawRect.Right - 2.0f, drawRect.Bottom - 1.0f),
                                        new PointF(drawRect.X + 1.0f, drawRect.Bottom - 1.0f),
                                        new PointF(drawRect.X, drawRect.Bottom - 2.0f),
                                        new PointF(drawRect.X, drawRect.Y + half),
                                        new PointF(drawRect.X + half, drawRect.Y)});
            return path;
        }

Same methods

RenderStandard::CreatePositionPathsBottom ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
RenderStandard