ComponentFactory.Krypton.Toolkit.RenderGlassHelpers.DrawBackGlassCheckedTrackingStump C# (CSharp) Method

DrawBackGlassCheckedTrackingStump() public static method

Draw a background in checked/tracking stumpy glass effect.
public static DrawBackGlassCheckedTrackingStump ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
return IDisposable
        public static IDisposable DrawBackGlassCheckedTrackingStump(RenderContext context,
                                                                    Rectangle rect,
                                                                    Color backColor1,
                                                                    Color backColor2,
                                                                    VisualOrientation orientation,
                                                                    GraphicsPath path,
                                                                    IDisposable memento)
        {
            return DrawBackGlassCheckedTrackingPercent(context, rect,
                                                       backColor1, backColor2,
                                                       orientation, path,
                                                       _stumpyGlassLength, memento);
        }