ComponentFactory.Krypton.Toolkit.ViewDrawCanvas.GetOuterBorderPath C# (CSharp) Method

GetOuterBorderPath() public method

Gets a path that describes the outside of the border.
public GetOuterBorderPath ( RenderContext context ) : GraphicsPath
context RenderContext Context used by the renderer.
return System.Drawing.Drawing2D.GraphicsPath
        public GraphicsPath GetOuterBorderPath(RenderContext context)
        {
            if (_paletteBorder != null)
            {
                return context.Renderer.RenderStandardBorder.GetOutsideBorderPath(context, ClientRectangle,
                                                                                  _paletteBorder, Orientation,
                                                                                  State);
            }

            // No palette details to use
            return null;
        }